File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -107,10 +107,6 @@ def copy(x):
107107 weakref .ref , super })
108108_copy_builtin_containers = frozenset ({list , dict , set , bytearray })
109109
110- import _testcapi
111- _testcapi .pyobject_enable_deferred_refcount (_copy_atomic_types )
112- _testcapi .pyobject_enable_deferred_refcount (_copy_builtin_containers )
113-
114110def deepcopy (x , memo = None ):
115111 """Deep copy operation on arbitrary Python objects.
116112
@@ -172,11 +168,6 @@ def deepcopy(x, memo=None):
172168
173169_deepcopy_dispatch = d = {}
174170
175- #import _testcapi
176- #_testcapi.pyobject_enable_deferred_refcount(_atomic_types)
177- #_testcapi.pyobject_enable_deferred_refcount(_deepcopy_dispatch)
178-
179-
180171
181172def _deepcopy_list (x , memo , deepcopy = deepcopy ):
182173 y = []
You can’t perform that action at this time.
0 commit comments