From 9953a8dfd6b078b58a7c73991660537677d11b56 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 17 Jan 2009 04:15:01 +0000 Subject: fix inspect.formatargspec on functions with keyword-only arguments without defaults #4959 --- Lib/test/inspect_fodder2.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Lib/test/inspect_fodder2.py') diff --git a/Lib/test/inspect_fodder2.py b/Lib/test/inspect_fodder2.py index d244935038..bd7106fea8 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 -- cgit v1.2.1