Python logo

Table of Contents

  • inspect — Inspect live objects
    • Types and members
    • Retrieving source code
    • Introspecting callables with the Signature object
    • Classes and functions
    • The interpreter stack
    • Fetching attributes statically
    • Current State of Generators, Coroutines, and Asynchronous Generators
    • Code Objects Bit Flags
    • Buffer flags
    • Command-line interface

Previous topic

gc — Garbage Collector interface

Next topic

annotationlib — Functionality for introspecting annotations