diff options
author | 2005-03-08 15:03:08 +0000 | |
---|---|---|
committer | 2005-03-08 15:03:08 +0000 | |
commit | e2713becd8cb0c3b2db4d33832dd57a1d619f0f3 (patch) | |
tree | c46d31f73c95c9a969b6704719dac3e83eb435f1 /Lib/copy.py | |
parent | Convert file names of posix.access according to the file system encoding. (diff) | |
download | cpython-e2713becd8cb0c3b2db4d33832dd57a1d619f0f3.tar.gz cpython-e2713becd8cb0c3b2db4d33832dd57a1d619f0f3.tar.bz2 cpython-e2713becd8cb0c3b2db4d33832dd57a1d619f0f3.zip |
Build with --disable-unicode again. Fixes #1158607.
Will backport to 2.4.
Diffstat (limited to 'Lib/copy.py')
-rw-r--r-- | Lib/copy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/copy.py b/Lib/copy.py index b216beb3364..dbfe2f58a3b 100644 --- a/Lib/copy.py +++ b/Lib/copy.py @@ -202,12 +202,12 @@ d[float] = _deepcopy_atomic d[bool] = _deepcopy_atomic try: d[complex] = _deepcopy_atomic -except AttributeError: +except NameError: pass d[str] = _deepcopy_atomic try: d[unicode] = _deepcopy_atomic -except AttributeError: +except NameError: pass try: d[types.CodeType] = _deepcopy_atomic |