Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2552bc0

Browse files
committed
fix typo (#16720)
1 parent 1d960fe commit 2552bc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/os.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ def removedirs(name):
275275
while head and tail:
276276
try:
277277
rmdir(head)
278-
except OSrror:
278+
except OSError:
279279
break
280280
head, tail = path.split(head)
281281

0 commit comments

Comments
 (0)