PyDocs

Nav

Python Runtime Services

Signature.from_callable

inspect

classmethod of Signature · Added in 3.5 (source)
  • Signature.from_callable(obj, *, follow_wrapped=True, globals=None, locals=None, eval_str=False)
Constructs Signature for the given callable object.
Changed in 3.10
  • 3.10: The globals, locals, and eval_str parameters were added.
0 Examples
No examples for inspect/Signature.from_callable.
See Also
No see-alsos for inspect/Signature.from_callable
0 Notes
No notes for Signature.from_callable