summaryrefslogtreecommitdiffstats
path: root/contrib/python/ipython/py3/IPython/core/magics
diff options
context:
space:
mode:
authorrobot-contrib <[email protected]>2023-10-14 09:57:42 +0300
committerrobot-contrib <[email protected]>2023-10-14 10:17:49 +0300
commitf13bfc9a1e469983083b02e19cf963678ace66c0 (patch)
tree08bbf5b3ec11f1ce4aa614c451089b74caec35e2 /contrib/python/ipython/py3/IPython/core/magics
parent82c487106cdf6fa8ae9a18967e53de52fb52e4e8 (diff)
Update contrib/python/ipython/py3 to 8.16.0
Diffstat (limited to 'contrib/python/ipython/py3/IPython/core/magics')
-rw-r--r--contrib/python/ipython/py3/IPython/core/magics/basic.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/contrib/python/ipython/py3/IPython/core/magics/basic.py b/contrib/python/ipython/py3/IPython/core/magics/basic.py
index 54b0c2a4de7..865e760eb18 100644
--- a/contrib/python/ipython/py3/IPython/core/magics/basic.py
+++ b/contrib/python/ipython/py3/IPython/core/magics/basic.py
@@ -122,7 +122,7 @@ class BasicMagics(Magics):
Created `%whereami` as an alias for `%pwd`.
In [6]: %whereami
- Out[6]: u'/home/testuser'
+ Out[6]: '/home/testuser'
In [7]: %alias_magic h history "-p -l 30" --line
Created `%h` as an alias for `%history -l 30`.
@@ -537,25 +537,25 @@ Currently the magic system has the following functions:""",
In [1]: from math import pi
In [2]: %precision 3
- Out[2]: u'%.3f'
+ Out[2]: '%.3f'
In [3]: pi
Out[3]: 3.142
In [4]: %precision %i
- Out[4]: u'%i'
+ Out[4]: '%i'
In [5]: pi
Out[5]: 3
In [6]: %precision %e
- Out[6]: u'%e'
+ Out[6]: '%e'
In [7]: pi**10
Out[7]: 9.364805e+04
In [8]: %precision
- Out[8]: u'%r'
+ Out[8]: '%r'
In [9]: pi**10
Out[9]: 93648.047476082982