mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Register a dispatcher for str8. (This makes test_copy.py pass again.)
Make registeration of str dispatcher unconditional.
This commit is contained in:
parent
a92b446e7e
commit
756f139b97
1 changed files with 1 additions and 4 deletions
|
@ -184,11 +184,8 @@ try:
|
|||
d[complex] = _deepcopy_atomic
|
||||
except NameError:
|
||||
pass
|
||||
d[str8] = _deepcopy_atomic
|
||||
d[str] = _deepcopy_atomic
|
||||
try:
|
||||
d[str] = _deepcopy_atomic
|
||||
except NameError:
|
||||
pass
|
||||
try:
|
||||
d[types.CodeType] = _deepcopy_atomic
|
||||
except AttributeError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue