哪里能看到python sys._getframe()所含属性的详细介绍?
fjzml 2017-11-13 10:24:17 哪里能看到python sys._getframe()所含属性的详细介绍?
比如通过print(dir(sys._getframe()))得到的这些属性。
谢谢先。
['__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__gt__', '__hash__', '__init__', '__le__', '__lt__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'clear', 'f_back', 'f_builtins', 'f_code', 'f_globals', 'f_lasti', 'f_lineno', 'f_locals', 'f_trace']