Skip to content

Commit f3d7579

Browse files
committed
gh-161591: sync inspect.signature() docs with actual function signature
1 parent f767423 commit f3d7579

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Doc/library/inspect.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -853,7 +853,7 @@ and its return annotation. To retrieve a :class:`!Signature` object,
853853
use the :func:`!signature`
854854
function.
855855

856-
.. function:: signature(callable, *, follow_wrapped=True, globals=None, locals=None, eval_str=False, annotation_format=Format.VALUE)
856+
.. function:: signature(obj, *, follow_wrapped=True, globals=None, locals=None, eval_str=False, annotation_format=Format.VALUE)
857857

858858
Return a :class:`Signature` object for the given *callable*:
859859

0 commit comments

Comments
 (0)