Fix #9575: autodoc: Return annotation should not be shown

This commit is contained in:
Takeshi KOMIYA
2022-05-14 23:00:54 +09:00
parent 23ab36bcd7
commit d8a540e922
3 changed files with 13 additions and 5 deletions

View File

@@ -1041,9 +1041,6 @@ def test_autodoc_typehints_description_with_documented_init(app):
' Parameters:\n'
' **x** (*int*) --\n'
'\n'
' Return type:\n'
' None\n'
'\n'
' __init__(x)\n'
'\n'
' Init docstring.\n'