mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
String method conversion.
This commit is contained in:
parent
d8c628bd59
commit
fc170b1fd5
19 changed files with 58 additions and 79 deletions
|
@ -5,7 +5,6 @@
|
|||
|
||||
import os
|
||||
from stat import ST_MTIME
|
||||
import string
|
||||
|
||||
# Print help
|
||||
def help():
|
||||
|
@ -103,7 +102,7 @@ def packtree(outfp, dirname):
|
|||
packtree(outfp, subdirname)
|
||||
|
||||
def unixfix(name):
|
||||
comps = string.splitfields(name, os.sep)
|
||||
comps = name.splitfields(os.sep)
|
||||
res = ''
|
||||
for comp in comps:
|
||||
if comp:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue