summaryrefslogtreecommitdiffstats
path: root/Lib/test/inspect_fodder2.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-01-17 04:15:01 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-01-17 04:15:01 (GMT)
commit9953a8dfd6b078b58a7c73991660537677d11b56 (patch)
tree2d436fb4412751395ad065101f75cfa1f31806df /Lib/test/inspect_fodder2.py
parentc10c34d6cb0d06632c7706a16cb3d448e0c3cfce (diff)
downloadcpython-9953a8dfd6b078b58a7c73991660537677d11b56.zip
cpython-9953a8dfd6b078b58a7c73991660537677d11b56.tar.gz
cpython-9953a8dfd6b078b58a7c73991660537677d11b56.tar.bz2
fix inspect.formatargspec on functions with keyword-only arguments without defaults #4959
Diffstat (limited to 'Lib/test/inspect_fodder2.py')
-rw-r--r--Lib/test/inspect_fodder2.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/inspect_fodder2.py b/Lib/test/inspect_fodder2.py
index d244935..bd7106f 100644
--- a/Lib/test/inspect_fodder2.py
+++ b/Lib/test/inspect_fodder2.py
@@ -105,3 +105,7 @@ def keyworded(*arg1, arg2=1):
#line 105
def annotated(arg1: list):
pass
+
+#line 109
+def keyword_only_arg(*, arg):
+ pass