We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 236f733 commit 78b842cCopy full SHA for 78b842c
Lib/types.py
@@ -69,6 +69,7 @@ def _m(self): pass
69
EllipsisType = type(Ellipsis)
70
NoneType = type(None)
71
NotImplementedType = type(NotImplemented)
72
+ FrameLocalsProxy = (lambda: type(sys._getframe().f_locals)()
73
74
# CapsuleType cannot be accessed from pure Python,
75
# so there is no fallback definition.
Modules/_typesmodule.c
@@ -46,6 +46,7 @@ _types_exec(PyObject *m)
46
EXPORT_STATIC_TYPE("TracebackType", PyTraceBack_Type);
47
EXPORT_STATIC_TYPE("UnionType", _PyUnion_Type);
48
EXPORT_STATIC_TYPE("WrapperDescriptorType", PyWrapperDescr_Type);
49
+ EXPORT_STATIC_TYPE("FrameLocalsProxy", PyFrameLocalsProxy_Type);
50
#undef EXPORT_STATIC_TYPE
51
return 0;
52
}
0 commit comments