mirror of
https://github.com/python/cpython.git
synced 2025-08-15 06:10:47 +00:00
#7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote.
This commit is contained in:
parent
b5023df3d6
commit
8d1da0f5c3
6 changed files with 22 additions and 21 deletions
|
@ -206,7 +206,7 @@ def convert_path (pathname):
|
|||
paths.remove('.')
|
||||
if not paths:
|
||||
return os.curdir
|
||||
return apply(os.path.join, paths)
|
||||
return os.path.join(*paths)
|
||||
|
||||
# convert_path ()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue