Merge branch 'Issue-1643'

* Issue-1643:
  Fix pydoc null pointer dereference with missing arg type
This commit is contained in:
William S Fulton 2020-01-16 18:54:47 +00:00
commit aa59c81205
4 changed files with 35 additions and 5 deletions

View file

@ -70,6 +70,16 @@ Test for a parameter with difficult type
:type a: :py:class:`Shape`
:param a: Very strange param"""
)
comment_verifier.check(inspect.getdoc(doxygen_basic_translate.function8),
"""\
Test variadic function
:param ...: extra args"""
)
comment_verifier.check(inspect.getdoc(doxygen_basic_translate.function9),
"""\
Test unnamed argument
:param baz: Description of baz"""
)
comment_verifier.check(inspect.getdoc(doxygen_basic_translate.Atan2),
"""\