##// END OF EJS Templates
Merge pull request #4561 from minrk/for_type_clear...
Merge pull request #4561 from minrk/for_type_clear Copied some of the logic from apptools (thanks @rkern). The current behavior: - `lookup(instance)` - return appropriate callback or a given object - `lookup_by_type(type_or_str)` - return appropriate callback for a given type or `'mod.name'` type string - `for_type(type_or_str)` - behaves the same, only adding support for type strings for consistency - `pop(type_or_str[, default])` - remove a type (by type or string) - `typ_or_str in Formatter` checks whether a type is registered, checking with `lookup_by_type` The inner structures remain unchanged.
Min RK -
r13976:3db536e9 merge
Show More
Name Size Modified Last Commit Author
/ IPython / core / tests
2x2.jpg Loading ...
2x2.png Loading ...
__init__.py Loading ...
daft_extension.py Loading ...
nonascii.py Loading ...
nonascii2.py Loading ...
print_argv.py Loading ...
refbug.py Loading ...
simpleerr.py Loading ...
tclass.py Loading ...
test_alias.py Loading ...
test_application.py Loading ...
test_autocall.py Loading ...
test_compilerop.py Loading ...
test_completer.py Loading ...
test_completerlib.py Loading ...
test_debugger.py Loading ...
test_display.py Loading ...
test_extension.py Loading ...
test_formatters.py Loading ...
test_handlers.py Loading ...
test_history.py Loading ...
test_hooks.py Loading ...
test_imports.py Loading ...
test_inputsplitter.py Loading ...
test_inputtransformer.py Loading ...
test_interactiveshell.py Loading ...
test_iplib.py Loading ...
test_logger.py Loading ...
test_magic.py Loading ...
test_magic_arguments.py Loading ...
test_magic_terminal.py Loading ...
test_oinspect.py Loading ...
test_page.py Loading ...
test_prefilter.py Loading ...
test_profile.py Loading ...
test_prompts.py Loading ...
test_pylabtools.py Loading ...
test_run.py Loading ...
test_shellapp.py Loading ...
test_splitinput.py Loading ...
test_ultratb.py Loading ...