tiissa wrote:
There is: see PEP 8.
http://www.python.org/peps/pep-0008.html
However, I understood there was no definitive convention hence various
common styles.
I think this is a relatively recent development. At the
time the tutorial was written, and the older parts of
the standard library, there wasn't any established
convention.
Hopefully the stdlib naming will gradually get ironed
out as the oldest bits get deprecated. The tutorial
could probably do with being updated, too.
--
Greg Ewing, Computer Science Dept,
University of Canterbury,
Christchurch, New Zealand
http://www.cosc.canterbury.ac.nz/~greg
--
http://mail.python.org/mailman/listinfo/python-list