diff options
| author | robot-piglet <[email protected]> | 2025-11-15 14:03:29 +0300 |
|---|---|---|
| committer | robot-piglet <[email protected]> | 2025-11-15 14:12:49 +0300 |
| commit | d35be2771487b4b96c52b23a0a8f85038cfcf3a0 (patch) | |
| tree | 3920c72c44d46836c533e35937e712045e6c13a6 /contrib/python/ipython/py3/IPython/__init__.py | |
| parent | 51b9f2ff639f425a192ae22e7666f264ecacca51 (diff) | |
Intermediate changes
commit_hash:7416cece282d94989ec949091de6e6674136bb5b
Diffstat (limited to 'contrib/python/ipython/py3/IPython/__init__.py')
| -rw-r--r-- | contrib/python/ipython/py3/IPython/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/python/ipython/py3/IPython/__init__.py b/contrib/python/ipython/py3/IPython/__init__.py index b7235481f21..fbfa04abad6 100644 --- a/contrib/python/ipython/py3/IPython/__init__.py +++ b/contrib/python/ipython/py3/IPython/__init__.py @@ -87,7 +87,7 @@ def embed_kernel(module=None, local_ns=None, **kwargs): **kwargs : various, optional Further keyword args are relayed to the IPKernelApp constructor, such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`), - allowing configuration of the kernel (see :ref:`kernel_options`). Will only have an effect + allowing configuration of the kernel. Will only have an effect on the first embed_kernel call for a given process. """ @@ -95,7 +95,7 @@ def embed_kernel(module=None, local_ns=None, **kwargs): if module is None: module = caller_module if local_ns is None: - local_ns = caller_locals + local_ns = dict(**caller_locals) # Only import .zmq when we really need it from ipykernel.embed import embed_kernel as real_embed_kernel @@ -150,7 +150,7 @@ def start_kernel(argv=None, **kwargs): **kwargs : various, optional Any other kwargs will be passed to the Application constructor, such as `config`, a traitlets :class:`Config` object (see :ref:`configure_start_ipython`), - allowing configuration of the kernel (see :ref:`kernel_options`). + allowing configuration of the kernel. """ import warnings |
