Python style question

Aaron Bentley aaron.bentley at utoronto.ca
Mon Jun 6 14:31:24 BST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:

| Hm, I don't really understand your mail though... if you did want an
| abstract factory then a static method would seem to be the right
| way, and I didn't speak of class methods...

AIUI, there are no static methods in Python.  The closest thing is a
class method.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCpFAs0F+nu1YWqI0RAqvRAJ494OEcNjZiVMdycLCDFP8+bOejYACcCOjM
7DBDvysBmuP4syM81GPmKpY=
=TzW7
-----END PGP SIGNATURE-----




More information about the bazaar mailing list