Backport of Python 3.6's inspect module to Python 2.7–3.5. Provides the signature() function and other inspection features missing in older Python versions. Current version 0.1.2, low activity.
pip install inspect2Verified import paths — ran on the pinned version, not inferred.
Use inspect2.signature to get callable signatures on Python 2.7–3.5.
Use standard library 'inspect' on Python 3.6+.
Use 'from inspect2 import ...' instead of relying on inspect being patched.
Install inspect2 and use 'from inspect2 import signature'.
Omit follow_wrapped or upgrade to Python 3.6+ to use inspect.signature.
No dependency data recorded yet.