Re: Packet definition variable length list on output

Roger Binns <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
On Sep 23, 2005, at 7:33 PM, Joe Pham wrote:

>>  foo.number._update('terminator': 'X')
>
> This syntax does not seem to work since foo.number return a value 
> string in this example.

Ah yes, it would seem that property getter is called squashing that.  
Alternatively you could add a method to 'foo' that would call the 
_update method behind the scenes.  For example:

   foo.set_args("number", terminator='X')

Roger



-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. 
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.