inspect.currentframe()

inspect.currentframe()

Return the frame object for the caller’s stack frame.

CPython implementation detail: This function relies on Python stack frame support in the interpreter, which isn’t guaranteed to exist in all implementations of Python. If running in an implementation without Python stack frame support this function returns None.

doc_python
2016-10-07 17:34:57
Comments
Leave a Comment

Please login to continue.