MCPcopy Index your code
hub / github.com/RustPython/RustPython / signature

Function signature

Lib/inspect.py:3319–3324  ·  view source on GitHub ↗

Get a signature object for the passed callable.

(obj, *, follow_wrapped=True, globals=None, locals=None, eval_str=False,
              annotation_format=Format.VALUE)

Source from the content-addressed store, hash-verified

3317
3318
3319def signature(obj, *, follow_wrapped=True, globals=None, locals=None, eval_str=False,
3320 annotation_format=Format.VALUE):
3321 """Get a signature object for the passed callable."""
3322 return Signature.from_callable(obj, follow_wrapped=follow_wrapped,
3323 globals=globals, locals=locals, eval_str=eval_str,
3324 annotation_format=annotation_format)
3325
3326
3327class BufferFlags(enum.IntFlag):

Callers 3

docroutineMethod · 0.90

Calls 1

from_callableMethod · 0.80

Tested by 2