diff options
author | Keewis <keewis@posteo.de> | 2020-07-21 12:26:28 +0200 |
---|---|---|
committer | Keewis <keewis@posteo.de> | 2020-07-21 12:26:28 +0200 |
commit | 9b425606e7be92c048e1b08b41562c296fadc56c (patch) | |
tree | cc03d9fdf11d5dd8b515b6347b51409cadb140fc /tests/test_ext_napoleon_docstring.py | |
parent | 274d9fe4f98d98c604c0e9bf0a4b49ceb62d523b (diff) | |
download | sphinx-git-9b425606e7be92c048e1b08b41562c296fadc56c.tar.gz |
support pandas-style default spec by postprocessing tokens
Diffstat (limited to 'tests/test_ext_napoleon_docstring.py')
-rw-r--r-- | tests/test_ext_napoleon_docstring.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_ext_napoleon_docstring.py b/tests/test_ext_napoleon_docstring.py index 2b1ac93aa..64fce5aa4 100644 --- a/tests/test_ext_napoleon_docstring.py +++ b/tests/test_ext_napoleon_docstring.py @@ -2013,6 +2013,7 @@ definition_after_normal_text : int "int or float or None, optional", '{"F", "C", "N"}', "{'F', 'C', 'N'}, default: 'F'", + "{'F', 'C', 'N or C'}, default 'F'", '"ma{icious"', r"'with \'quotes\''", ) @@ -2022,6 +2023,7 @@ definition_after_normal_text : int ["int", " or ", "float", " or ", "None", ", ", "optional"], ["{", '"F"', ", ", '"C"', ", ", '"N"', "}"], ["{", "'F'", ", ", "'C'", ", ", "'N'", "}", ", ", "default", ": ", "'F'"], + ["{", "'F'", ", ", "'C'", ", ", "'N or C'", "}", ", ", "default", " ", "'F'"], ['"ma{icious"'], [r"'with \'quotes\''"], ) |