Bizarre method keyword-arg bug.

Simon Brunning simon at brunningonline.net
Mon Aug 18 04:49:23 EDT 2008


2008/8/18 Jasper <jasper at peak.org>:
> I'm stumped.  I'm calling a method that has keyword args, but not
> setting them, and yet one of them starts off with data?!

<http://www.python.org/doc/faq/general/#why-are-default-values-shared-between-objects>

-- 
Cheers,
Simon B.
simon at brunningonline.net
http://www.brunningonline.net/simon/blog/
GTalk: simon.brunning | MSN: small_values | Yahoo: smallvalues | Twitter: brunns



More information about the Python-list mailing list