Standardized Reflection Objects for Python Callables

It’s not so much that the information “lives” in inspect. The information is in __code__ as the co_argcount attribute and friends, and inspect contains logic that makes it much more intuitively accessible.