mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Fix docs: docs for show_return_annotation param for stringify_signature() is not explained
This commit is contained in:
@@ -748,8 +748,9 @@ def stringify_signature(sig: inspect.Signature, show_annotation: bool = True,
|
||||
unqualified_typehints: bool = False) -> str:
|
||||
"""Stringify a Signature object.
|
||||
|
||||
:param show_annotation: Show annotation in result
|
||||
:param unqualified_typehints: Show annotations as unqualified
|
||||
:param show_annotation: If enabled, show annotations on the signature
|
||||
:param show_return_annotation: If enabled, show annotation of the return value
|
||||
:param unqualified_typehints: If enabled, show annotations as unqualified
|
||||
(ex. io.StringIO -> StringIO)
|
||||
"""
|
||||
args = []
|
||||
|
||||
Reference in New Issue
Block a user