summaryrefslogtreecommitdiff
path: root/tests/roots/test-ext-autodoc/target/pep570.py
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2020-02-16 21:42:20 +0900
committerTakeshi KOMIYA <i.tkomiya@gmail.com>2020-02-16 21:42:20 +0900
commit954db2bd27f2e917ac0622f6b12badf045dd0ef8 (patch)
treed68b2176ea65530b5093046e6206dfeaae3ac369 /tests/roots/test-ext-autodoc/target/pep570.py
parent81964e036b08e182fa9d58c6330a4094083f9070 (diff)
parente9c165fa5548f2af0370644b649c4452e2563044 (diff)
downloadsphinx-git-954db2bd27f2e917ac0622f6b12badf045dd0ef8.tar.gz
Merge branch '2.0'
Diffstat (limited to 'tests/roots/test-ext-autodoc/target/pep570.py')
-rw-r--r--tests/roots/test-ext-autodoc/target/pep570.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/roots/test-ext-autodoc/target/pep570.py b/tests/roots/test-ext-autodoc/target/pep570.py
index 904692eeb..1a77eae93 100644
--- a/tests/roots/test-ext-autodoc/target/pep570.py
+++ b/tests/roots/test-ext-autodoc/target/pep570.py
@@ -1,5 +1,11 @@
-def foo(a, b, /, c, d):
+def foo(*, a, b):
pass
-def bar(a, b, /):
+def bar(a, b, /, c, d):
+ pass
+
+def baz(a, /, *, b):
+ pass
+
+def qux(a, b, /):
pass