Get a signature object for the passed callable.
(obj, *, follow_wrapped=True, globals=None, locals=None, eval_str=False,
annotation_format=Format.VALUE)
| 3324 | |
| 3325 | |
| 3326 | def signature(obj, *, follow_wrapped=True, globals=None, locals=None, eval_str=False, |
| 3327 | annotation_format=Format.VALUE): |
| 3328 | """Get a signature object for the passed callable.""" |
| 3329 | return Signature.from_callable(obj, follow_wrapped=follow_wrapped, |
| 3330 | globals=globals, locals=locals, eval_str=eval_str, |
| 3331 | annotation_format=annotation_format) |
| 3332 | |
| 3333 | |
| 3334 | class BufferFlags(enum.IntFlag): |
searching dependent graphs…