mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
finish fixing the rlcompleter regression (thanks for noticing Antonine Pitrou)
This commit is contained in:
parent
f385485ec8
commit
bebfbe2d11
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class Completer:
|
|||
return None
|
||||
|
||||
def _callable_postfix(self, val, word):
|
||||
if callable(val):
|
||||
if hasattr(val, '__call__'):
|
||||
word = word + "("
|
||||
return word
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue