8000 Revert renaming · python/cpython@3e4d0e3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3e4d0e3

Browse files
committed
Revert renaming
1 parent 5ca9ea3 commit 3e4d0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/posixpath.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ def realpath(filename, *, strict=False):
387387
"""Return the canonical path of the specified filename, eliminating any
388388
symbolic links encountered in the path."""
389389
filename = os.fspath(filename)
390-
path, _ = _joinrealpath(filename[:0], filename, strict, {})
390+
path, ok = _joinrealpath(filename[:0], filename, strict, {})
391391
return abspath(path)
392392

393393
# Join two paths, normalizing and eliminating any symbolic links encountered in

0 commit comments

Comments
 (0)
0