We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2597140 commit 568eb38Copy full SHA for 568eb38
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