Show More
@@ -3633,17 +3633,12 b' Defaulting color scheme to \'NoColor\'"""' | |||||
3633 | To see what classes are availabe for config, pass no arguments: |
|
3633 | To see what classes are availabe for config, pass no arguments: | |
3634 | In [1]: %config |
|
3634 | In [1]: %config | |
3635 | Available objects for config: |
|
3635 | Available objects for config: | |
3636 |
|
|
3636 | TerminalInteractiveShell | |
3637 |
|
|
3637 | HistoryManager | |
3638 |
|
|
3638 | PrefilterManager | |
3639 |
|
|
3639 | AliasManager | |
3640 |
|
|
3640 | IPCompleter | |
3641 |
|
|
3641 | DisplayFormatter | |
3642 | DisplayPublisher |
|
|||
3643 | DisplayHook |
|
|||
3644 | ExtensionManager |
|
|||
3645 | PluginManager |
|
|||
3646 | PayloadManager |
|
|||
3647 |
|
3642 | |||
3648 | # To view what is configurable on a given class, just pass the class name |
|
3643 | # To view what is configurable on a given class, just pass the class name | |
3649 | In [2]: %config IPCompleter |
|
3644 | In [2]: %config IPCompleter | |
@@ -3665,7 +3660,8 b' Defaulting color scheme to \'NoColor\'"""' | |||||
3665 |
|
3660 | |||
3666 | """ |
|
3661 | """ | |
3667 | from IPython.config.loader import Config |
|
3662 | from IPython.config.loader import Config | |
3668 | classnames = [ c.__class__.__name__ for c in self.configurables ] |
|
3663 | # get list of class names for configurables that have someting to configure: | |
|
3664 | classnames = [ c.__class__.__name__ for c in self.configurables if c.__class__.class_traits(config=True) ] | |||
3669 | line = s.strip() |
|
3665 | line = s.strip() | |
3670 | if not line: |
|
3666 | if not line: | |
3671 | # print available configurable names |
|
3667 | # print available configurable names |
General Comments 0
You need to be logged in to leave comments.
Login now