[Python-Dev] The path module PEP (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Wed Jan 25 00:25:21 CET 2006
- Previous message: [Python-Dev] The path module PEP
- Next message: [Python-Dev] The path module PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Gustavo J. A. M. Carneiro wrote:
> # Operations on path strings. > def abspath(sef): ... > def normcase(self): ... > def normpath(self): ... > def realpath(self): ... > def expanduser(self): ... > def expandvars(self): ... > def dirname(self): ... > def basename(self): ... > def expand(self): ... > def splitpath(self): ... > def splitdrive(self): ... > def splitext(self): ... > def stripext(self): ... > def splitunc(self): ... [1] > def joinpath(self, *args): ... > 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 wordsseparatedbyunderscores. And BTW, what does splitunc do? It really should have a more descriptive name.
when did you last use the os.path module ?
- Previous message: [Python-Dev] The path module PEP
- Next message: [Python-Dev] The path module PEP
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]