[Python-Dev] Re: os.path.commonprefix breakage (original) (raw)

Skip Montanaro skip@mojam.com (Skip Montanaro)
Wed, 16 Aug 2000 23:23:37 -0500 (CDT)


Skip> os.path.commonprefix(["/home/swen", "/home/swenson"])

Skip> would yield the most likely invalid path "/home/sw" as the common
Skip> prefix.

Ack! I meant to use this example:

os.path.commonprefix(["/home/swen", "/home/swanson"])

which would yield "/home/sw"...

S