Show More
@@ -937,8 +937,8 class IPCompleter(Completer): | |||
|
937 | 937 | def get_keys(obj): |
|
938 | 938 | # Objects can define their own completions by defining an |
|
939 | 939 | # _ipy_key_completions_() method. |
|
940 | if _safe_really_hasattr(obj, '_ipy_key_completions_'): | |
|
941 | return obj._ipy_key_completions_() | |
|
940 | if _safe_really_hasattr(obj, '_ipython_key_completions_'): | |
|
941 | return obj._ipython_key_completions_() | |
|
942 | 942 | |
|
943 | 943 | # Special case some common in-memory dict-like types |
|
944 | 944 | if isinstance(obj, dict) or\ |
General Comments 0
You need to be logged in to leave comments.
Login now