mirror of
https://github.com/python/cpython.git
synced 2025-12-09 10:37:17 +00:00
fix typo (#16720)
This commit is contained in:
parent
1d960fe4c4
commit
2552bc0601
1 changed files with 1 additions and 1 deletions
|
|
@ -275,7 +275,7 @@ def removedirs(name):
|
||||||
while head and tail:
|
while head and tail:
|
||||||
try:
|
try:
|
||||||
rmdir(head)
|
rmdir(head)
|
||||||
except OSrror:
|
except OSError:
|
||||||
break
|
break
|
||||||
head, tail = path.split(head)
|
head, tail = path.split(head)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue