When the code and the comments disagree
Moshe Zadka
moshez at math.huji.ac.il
Fri Jun 18 07:37:07 EDT 1999
Or maybe I have misunderstood something. From dospath.py
---------------
# Is a path a mount point?
# XXX This degenerates in: 'is this the root?' on DOS
def ismount(path):
return isabs(splitdrive(path)[1])
----------------
Why checking isabs, instead of checking =='\\'??????
Beyond me. Anybody?
--
Moshe Zadka <mzadka at geocities.com>.
#!/usr/bin/tail -1
Just another tail hacker.
More information about the Python-list
mailing list