Re: "append_const" action

Andrea 'fwyzard' Bocci <[email protected]> Tue, 09 Nov 2004 21:17:18 +0100
Newsgroups gmane.comp.python.optik.user
Message-ID <[email protected]>
Sending again, have way too many computer to properly configure mail on 
all of 'em...

Greg Ward wrote:

 > OK, patch accepted -- checked in to the Subversion repository, r462.
 > Since I'm such a nice guy, I wrote the doc patch for you:


Yup!

 >      options.tracks.append(int("4"))
 >
 > +* ``append_const`` [required: ``const``; relevant: ``dest``]
 > +
 > +  Like ``store_const``, but the value ``const`` is appended to ``dest``;
 > +  as with ``append``, ``dest`` defaults to None, and an an empty list is
 > +  automatically created the first time the option is encountered.
 > +
 >  * ``count`` [relevant: ``dest``]
 >
 >    Increment the integer stored at ``dest``.  If no default value is


Ops, I hadn't thought of that! I'll be more thoughtfull (an everntual) 
next time.
Thanks ;-)

Andrea

 > I don't think any more documentation than that is needed.
 >
 >         Greg



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click