diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-31 21:14:08 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-31 21:14:08 +0900 |
commit | 360efdefecfe7979dffe56905937592829eafa95 (patch) | |
tree | e3497b959d21842070fdfd5e0d07a9ca77823f7c /tests/test_autodoc.py | |
parent | ac2987a7d3434b8503cbe262c68dcb751b36fcfc (diff) | |
download | sphinx-git-360efdefecfe7979dffe56905937592829eafa95.tar.gz |
Fix #7355: autodoc: a signature of cython-function is not recognized well
Diffstat (limited to 'tests/test_autodoc.py')
-rw-r--r-- | tests/test_autodoc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_autodoc.py b/tests/test_autodoc.py index 741c4bb60..fc56a7f72 100644 --- a/tests/test_autodoc.py +++ b/tests/test_autodoc.py @@ -1641,7 +1641,7 @@ def test_cython(): ' Docstring.', '', '', - '.. py:function:: foo(*args, **kwargs)', + '.. py:function:: foo(x: int, *args, y: str, **kwargs)', ' :module: target.cython', '', ' Docstring.', |