Message176781
splitpath() should be equivalent to followed code (but be non-recursive and more effective):
def splitpath(path):
head, tail = split(path)
if head == path:
return [head]
else:
return splitpath(head) + [tail] |
|
Date |
User |
Action |
Args |
2012-12-02 10:52:00 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, terry.reedy, pitrou, eric.araujo, r.david.murray, brian.curtin, santoso.wijaya, blokeley |
2012-12-02 10:51:59 | serhiy.storchaka | set | messageid: <1354445519.85.0.681547508965.issue11344@psf.upfronthosting.co.za> |
2012-12-02 10:51:59 | serhiy.storchaka | link | issue11344 messages |
2012-12-02 10:51:59 | serhiy.storchaka | create | |
|