##// END OF EJS Templates
Fix api compatibility....
Matthias Bussonnier -
Show More
@@ -1134,13 +1134,14 b' class IPCompleter(Completer):'
1134 self.dict_key_matches,
1134 self.dict_key_matches,
1135 ]
1135 ]
1136
1136
1137 def all_completions(self, text):
1137 def all_completions(self, text) -> List[str]:
1138 """
1138 """
1139 Wrapper around the completions method for the benefit of emacs.
1139 Wrapper around the completions method for the benefit of emacs.
1140 """
1140 """
1141 prefix = text[:text.rfind(".") + 1]
1141 prefix = text[:text.rfind(".") + 1]
1142 return map(lambda c: prefix + c.text,
1142 with provisionalcompleter():
1143 self.completions(text, len(text)))
1143 return list(map(lambda c: prefix + c.text,
1144 self.completions(text, len(text))))
1144
1145
1145 return self.complete(text)[1]
1146 return self.complete(text)[1]
1146
1147
General Comments 0
You need to be logged in to leave comments. Login now