Gustavo J. A. M. Carneiro wrote:. >> def splitall(self): ... >> def relpath(self): ... >> def relpathto(self, dest): ... > > [...etc...] > > If we wanted to take PEP 8 seriously, those method names should be > changed to words_separated_by_underscores.
There's a (unspecified?) convention that many standard/core objects or objects in the standard library use squishedwords for methods. has_key is an anomoly, not the norm. Also, many of these are direct translations of methods from os.path, and so the names offer familiarity. -- Ian Bicking / [EMAIL PROTECTED] / http://blog.ianbicking.org _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com