Skip to content

Commit a40c863

Browse files
committed
Add a TODO for proper error handling
1 parent f4f05b2 commit a40c863

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bpython/curtsiesfrontend/replpainter.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ def formatted_docstring(docstring, columns, config):
166166
elif isinstance(docstring, str if py3 else unicode):
167167
pass
168168
else:
169+
# TODO: fail properly here and catch possible exceptions in callers.
169170
return []
170171
color = func_for_letter(config.color_scheme['comment'])
171172
return sum(([color(x) for x in (display_linize(line, columns) if line else

0 commit comments

Comments
 (0)