We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 91503ec commit 797e487Copy full SHA for 797e487
bpython/cli.py
@@ -122,6 +122,9 @@ def fixlongargs(f, argspec):
122
whose str() is too big will cause breakage, so we swap out the object
123
itself with the name it was referenced with in the source by parsing the
124
source itself !"""
125
+ if argspec[3] is None:
126
+ # No keyword args, no need to do anything
127
+ return
128
values = list(argspec[3])
129
if not values:
130
return
0 commit comments