##// END OF EJS Templates
Add docstring for dict_key_matches
Thomas Kluyver -
Show More
@@ -866,6 +866,7 b' class IPCompleter(Completer):'
866 return argMatches
866 return argMatches
867
867
868 def dict_key_matches(self, text):
868 def dict_key_matches(self, text):
869 "Match string keys in a dictionary, after e.g. 'foo[' "
869 def get_keys(obj):
870 def get_keys(obj):
870 # Only allow completion for known in-memory dict-like types
871 # Only allow completion for known in-memory dict-like types
871 if isinstance(obj, dict) or\
872 if isinstance(obj, dict) or\
General Comments 0
You need to be logged in to leave comments. Login now