aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/shellapp.py
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.ru>2022-05-18 00:43:36 +0300
committerrobot-contrib <robot-contrib@yandex-team.ru>2022-05-18 00:43:36 +0300
commit9e5f436a8b2a27bcc7802e443ea3ef3e41a82a75 (patch)
tree78b522cab9f76336e62064d4d8ff7c897659b20e /contrib/python/ipython/py3/IPython/core/shellapp.py
parent8113a823ffca6451bb5ff8f0334560885a939a24 (diff)
downloadydb-9e5f436a8b2a27bcc7802e443ea3ef3e41a82a75.tar.gz
Update contrib/python/ipython/py3 to 8.3.0
ref:e84342d4d30476f9148137f37fd0c6405fd36f55
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/shellapp.py')
-rw-r--r--contrib/python/ipython/py3/IPython/core/shellapp.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/shellapp.py b/contrib/python/ipython/py3/IPython/core/shellapp.py
index c442658ae70..f737bcb56b7 100644
--- a/contrib/python/ipython/py3/IPython/core/shellapp.py
+++ b/contrib/python/ipython/py3/IPython/core/shellapp.py
@@ -98,11 +98,6 @@ shell_aliases = dict(
)
shell_aliases['cache-size'] = 'InteractiveShell.cache_size'
-if traitlets.version_info < (5, 0):
- # traitlets 4 doesn't handle lists on CLI
- shell_aliases["ext"] = "InteractiveShellApp.extra_extension"
-
-
#-----------------------------------------------------------------------------
# Main classes and functions
#-----------------------------------------------------------------------------
@@ -126,17 +121,6 @@ class InteractiveShellApp(Configurable):
help="A list of dotted module names of IPython extensions to load."
).tag(config=True)
- extra_extension = Unicode(
- "",
- help="""
- DEPRECATED. Dotted module name of a single extra IPython extension to load.
-
- Only one extension can be added this way.
-
- Only used with traitlets < 5.0, plural extra_extensions list is used in traitlets 5.
- """,
- ).tag(config=True)
-
extra_extensions = List(
DottedObjectName(),
help="""
@@ -293,8 +277,6 @@ class InteractiveShellApp(Configurable):
extensions = (
self.default_extensions + self.extensions + self.extra_extensions
)
- if self.extra_extension:
- extensions.append(self.extra_extension)
for ext in extensions:
try:
self.log.info("Loading IPython extension: %s" % ext)