mirror of https://github.com/python/cpython
gh-96415: Remove `types._cell_factory` from a module namespace (#96416)
Closes #96415
This commit is contained in:
parent
cae7d1d7a7
commit
5ba4875aec
|
@ -60,7 +60,7 @@ except TypeError as exc:
|
||||||
GetSetDescriptorType = type(FunctionType.__code__)
|
GetSetDescriptorType = type(FunctionType.__code__)
|
||||||
MemberDescriptorType = type(FunctionType.__globals__)
|
MemberDescriptorType = type(FunctionType.__globals__)
|
||||||
|
|
||||||
del sys, _f, _g, _C, _c, _ag # Not for export
|
del sys, _f, _g, _C, _c, _ag, _cell_factory # Not for export
|
||||||
|
|
||||||
|
|
||||||
# Provide a PEP 3115 compliant mechanism for class creation
|
# Provide a PEP 3115 compliant mechanism for class creation
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Remove ``types._cell_factory`` from module namespace.
|
Loading…
Reference in New Issue