mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
macpath.cat --> join
This commit is contained in:
parent
0b7448020a
commit
fbe0a8e090
4 changed files with 15 additions and 12 deletions
|
@ -25,7 +25,7 @@ FILE = 1
|
|||
LISTTYPE = type([])
|
||||
|
||||
def _stat(name):
|
||||
name = macpath.cat(cwd, name)
|
||||
name = macpath.join(cwd, name)
|
||||
if cache.has_key(name):
|
||||
return cache[name]
|
||||
if macpath.isfile(name):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue