Skip to content

Commit d8fdc2f

Browse files
committed
Replaced argspec with namedtuple FuncProps
1 parent bd7e8e4 commit d8fdc2f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

bpython/curtsiesfrontend/repl.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def add_to_incremental_search(self, char=None, backspace=False):
909909

910910
def update_completion(self, tab=False):
911911
"""Update visible docstring and matches, and possibly hide/show completion box"""
912-
# Update autocomplete info; self.matches_iter and self.argspec
912+
# Update autocomplete info; self.matches_iter and self.funcprops
913913
# Should be called whenever the completion box might need to appear / dissapear
914914
# when current line or cursor offset changes, unless via selecting a match
915915
self.current_match = None
@@ -1272,7 +1272,8 @@ def move_screen_up(current_line_start_row):
12721272
infobox = paint.paint_infobox(info_max_rows,
12731273
int(width * self.config.cli_suggestion_width),
12741274
self.matches_iter.matches,
1275-
self.argspec,
1275+
self.funcprops,
1276+
self.arg_pos,
12761277
self.current_match,
12771278
self.docstring,
12781279
self.config,

0 commit comments

Comments
 (0)