8000 Merge branch 'speedup-os.path' of https://github.com/nineteendo/cpyth… · python/cpython@9905730 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9905730

Browse files
committed
Merge branch 'speedup-os.path' of https://github.com/nineteendo/cpython into speedup-os.path
2 parents 67f0620 + 4a01123 commit 9905730

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
@@ -351,7 +351,7 @@ def normpath(path):
351351
if not comp or comp == dot:
352352
continue
353353
if (comp != dotdot or (not initial_slashes and not new_comps) or
354-
(new_comps and new_comps[-1] == dotdot)):
354+
(new_comps and new_comps[-1] == dotdot)):
355355
new_comps.append(comp)
356356
elif new_comps:
357357
new_comps.pop()

0 commit comments

Comments
 (0)
0