Skip to content

Commit b78e0b8

Browse files
committed
Fix keyword-only arguments in argspec.
Thanks to Julian Berman for reporting.
1 parent fa54350 commit b78e0b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ def mkargspec(self, topline, down):
712712
default = kwonly_defaults.get(arg, marker)
713713
if default is not marker:
714714
self.list_win.addstr('=', punctuation_colpair)
715-
self.list_win.addstr(default,
715+
self.list_win.addstr(repr(default),
716716
get_colpair(self.config, 'token'))
717717

718718
if _kwargs:

0 commit comments

Comments
 (0)