8000 remove ambiguous comment about '?' case · python/cpython@01a5173 · GitHub
[go: up one dir, main page]

Skip to content

Commit 01a5173

Browse files
committed
remove ambiguous comment about '?' case
1 parent 0226437 commit 01a5173

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Lib/fnmatch.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ def _translate(pat, star, question_mark):
100100
while i < n and pat[i] == '*':
101101
i += 1
102102
elif c == '?':
103-
# Handling '?' one at a time seems to more efficient
104-
# even if there are consecutive '?' that could have
105-
# been written directly.
106103
add(question_mark)
107104
elif c == '[':
108105
j = i

0 commit comments

Comments
 (0)
0