Commits

Andreas Stührk  committed 06758a7

Fix keyword-only arguments in argspec.

Thanks to Julian Berman for reporting.

  • Participants
  • Parent commits 61c0202

Comments (0)

Files changed (1)

File bpython/cli.py

                 default = kwonly_defaults.get(arg, marker)
                 if default is not marker:
                     self.list_win.addstr('=', punctuation_colpair)
-                    self.list_win.addstr(default,
+                    self.list_win.addstr(repr(default),
                                          get_colpair(self.config, 'token'))
 
         if _kwargs: