We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a387e8c commit edf7b2eCopy full SHA for edf7b2e
1 file changed
bpython/cli.py
@@ -1259,7 +1259,7 @@ def lsize():
1259
self.list_win.addstr('\n ')
1260
1261
if self.docstring is not None:
1262
- if not py3:
+ if not py3 and isinstance(docstring_string, unicode):
1263
docstring_string = docstring_string.encode(encoding, 'ignore')
1264
self.list_win.addstr('\n' + docstring_string,
1265
get_colpair(self.config, 'comment'))
0 commit comments