Skip to content

Commit 42ae730

Browse files
Fix 767 by using correct function
1 parent 68df142 commit 42ae730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bpython/curtsiesfrontend/replpainter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import itertools
66
from six.moves import range
77

8-
from curtsies import fsarray, fmtstr
8+
from curtsies import fsarray, fmtstr, FSArray
99
from curtsies.formatstring import linesplit
1010
from curtsies.fmtfuncs import bold
1111

@@ -178,7 +178,7 @@ def paint_infobox(rows, columns, matches, funcprops, arg_pos, match, docstring,
178178
config, match_format):
179179
"""Returns painted completions, funcprops, match, docstring etc."""
180180
if not (rows and columns):
181-
return fsarray(0, 0)
181+
return FSArray(0, 0)
182182
width = columns - 4
183183
from_argspec = (formatted_argspec(funcprops, arg_pos, width, config)
184184
if funcprops else [])

0 commit comments

Comments
 (0)