mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
String method conversion.
This commit is contained in:
parent
20e4423ade
commit
b49f4a4b15
5 changed files with 13 additions and 20 deletions
|
@ -102,7 +102,7 @@ else:
|
|||
dsize = fp.tell()
|
||||
fp.close()
|
||||
dir, file = os.path.split(name)
|
||||
file = string.replace(file, ':', '-', 1)
|
||||
file = file.replace(':', '-', 1)
|
||||
return file, finfo, dsize, 0
|
||||
|
||||
class openrsrc:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue