pub fn current_code() -> Option<PyRef<PyCode>>
Read the code object from the topmost frame on this thread’s chain. Returns None if the chain is empty.
None