Skip to content

Commit bc450db

Browse files
typo in docstring formatter
--HG-- branch : scroll-frontend
1 parent b852602 commit bc450db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/scrollfrontend/replpainter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def formatted_argspec(argspec, columns, config):
134134

135135
def formatted_docstring(docstring, columns, config):
136136
color = func_for_letter(config.color_scheme['comment'])
137-
return sum(([color(x) for x in (display_linize(line, width) if line else fmtstr(''))]
137+
return sum(([color(x) for x in (display_linize(line, columns) if line else fmtstr(''))]
138138
for line in docstring.split('\n')), [])
139139

140140
def paint_infobox(rows, columns, matches, argspec, match, docstring, config):

0 commit comments

Comments
 (0)