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
|
@ -57,7 +57,7 @@ if sys.platform == 'mac':
|
|||
# handling. In many places it is assumed a simple substitution of / by the
|
||||
# local os.path.sep is good enough to convert pathnames, but this does not
|
||||
# work with the mac rooted:path:name versus :nonrooted:path:name syntax
|
||||
raise ImportError, "tarfile does not work for platform==mac"
|
||||
raise ImportError("tarfile does not work for platform==mac")
|
||||
|
||||
try:
|
||||
import grp, pwd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue