##// END OF EJS Templates
Strip prefix in `attr_matches` result (#13943)...
Strip prefix in `attr_matches` result (#13943) Fixes #13935 Reasoning behind implementation chosen: - `a.b.c` prefix in `a.b.c.<tab>` needs to be preserved as otherwise the completer will replace it with completion rather than appending (so we cannot just use `.suffix`, we need to use `a.b.c.suffix` here) - as in the issue we cannot use `a b.suffix` but need to use `b.suffix` or `.suffix` - `d['a b']` prefix cannot be split using space splitting so we need to tokenize - however, we can do either `a[0].suffix` or `.suffix`

File last commit:

r27747:f5d4e0ac
r28118:9663a9ad merge
Show More
eventful.py
5 lines | 138 B | text/x-python | PythonLexer
from warnings import warn
warn("IPython.utils.eventful has moved to traitlets.eventful", stacklevel=2)
from traitlets.eventful import *