fix inspect.formatargspec on functions with keyword-only arguments without defaults #4959

This commit is contained in:
Benjamin Peterson 2009-01-17 04:15:01 +00:00
parent c10c34d6cb
commit 9953a8dfd6
4 changed files with 15 additions and 1 deletions

View file

@ -105,3 +105,7 @@ def keyworded(*arg1, arg2=1):
#line 105
def annotated(arg1: list):
pass
#line 109
def keyword_only_arg(*, arg):
pass