10000 gh-96415: Remove `types._cell_factory` from a module namespace (#96416) · python/cpython@5ba4875 · GitHub
[go: up one dir, main page]

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

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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)
0