mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Raise statement normalization in Lib/.
This commit is contained in:
parent
8b3febef2f
commit
ce36ad8a46
80 changed files with 502 additions and 530 deletions
|
@ -143,7 +143,7 @@ def normpath(s):
|
|||
i = i - 1
|
||||
else:
|
||||
# best way to handle this is to raise an exception
|
||||
raise norm_error, 'Cannot use :: immediately after volume name'
|
||||
raise norm_error('Cannot use :: immediately after volume name')
|
||||
else:
|
||||
i = i + 1
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue