Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85f1aa commit afb7ff0Copy full SHA for afb7ff0
1 file changed
IPython/paths.py
@@ -32,10 +32,7 @@ def get_ipython_dir() -> str:
32
home_dir = get_home_dir()
33
xdg_dir = get_xdg_dir()
34
35
- if 'IPYTHON_DIR' in env:
36
- warn('The environment variable IPYTHON_DIR is deprecated since IPython 3.0. '
37
- 'Please use IPYTHONDIR instead.', DeprecationWarning)
38
- ipdir = env.get('IPYTHONDIR', env.get('IPYTHON_DIR', None))
+ ipdir = env.get("IPYTHONDIR", None)
39
if ipdir is None:
40
# not set explicitly, use ~/.ipython
41
ipdir = pjoin(home_dir, ipdir_def)
0 commit comments