Skip to content

Commit b8fd733

Browse files
committed
Use the 'type' suffix.
1 parent 22e056d commit b8fd733

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Lib/types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def _m(self): pass
6969
EllipsisType = type(Ellipsis)
7070
NoneType = type(None)
7171
NotImplementedType = type(NotImplemented)
72-
FrameLocalsProxy = (lambda: type(sys._getframe().f_locals))()
72+
FrameLocalsProxyType = (lambda: type(sys._getframe().f_locals))()
7373

7474
# CapsuleType cannot be accessed from pure Python,
7575
# so there is no fallback definition.

Modules/_typesmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ _types_exec(PyObject *m)
4646
EXPORT_STATIC_TYPE("TracebackType", PyTraceBack_Type);
4747
EXPORT_STATIC_TYPE("UnionType", _PyUnion_Type);
4848
EXPORT_STATIC_TYPE("WrapperDescriptorType", PyWrapperDescr_Type);
49-
EXPORT_STATIC_TYPE("FrameLocalsProxy", PyFrameLocalsProxy_Type);
49+
EXPORT_STATIC_TYPE("FrameLocalsProxyType", PyFrameLocalsProxy_Type);
5050
#undef EXPORT_STATIC_TYPE
5151
return 0;
5252
}

0 commit comments

Comments
 (0)