Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5ba4875

Browse files
authored
gh-96415: Remove types._cell_factory from a module namespace (#96416)
Closes #96415
1 parent cae7d1d commit 5ba4875

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Lib/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def _m(self): pass
6060
GetSetDescriptorType = type(FunctionType.__code__)
6161
MemberDescriptorType = type(FunctionType.__globals__)
6262

63-
del sys, _f, _g, _C, _c, _ag # Not for export
63+
del sys, _f, _g, _C, _c, _ag, _cell_factory # Not for export
6464

6565

6666
# Provide a PEP 3115 compliant mechanism for class creation
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove ``types._cell_factory`` from module namespace.

0 commit comments

Comments
 (0)