Python equivt of __FILE__ and __LINE__
Gabriel Genellina
gagsl-py2 at yahoo.com.ar
Tue Feb 12 13:38:58 EST 2008
En Tue, 12 Feb 2008 16:20:12 -0200, Jeff Schwab <jeff at schwabcenter.com>
escribió:
> What about the following? Should the underscores be omitted from the
> method names, for consistency with inspect?
I prefer the names_with_underscore, the "current" style recommended by
PEP8 http://www.python.org/dev/peps/pep-0008/ but hurry up before it
changes!
--
Gabriel Genellina
More information about the Python-list
mailing list