diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2017-08-13 16:55:36 -0600 |
---|---|---|
committer | Charles Harris <charlesr.harris@gmail.com> | 2017-08-13 17:03:26 -0600 |
commit | d12b8d835708018fbb4e2ce5c6a6c3f9abd6bbb0 (patch) | |
tree | 0a46a2513018800d4e4410dd1b62aabf208af525 /numpy/doc/basics.py | |
parent | ae17d2c93dfac88cca9859d8b49490deb3991f41 (diff) | |
download | numpy-d12b8d835708018fbb4e2ce5c6a6c3f9abd6bbb0.tar.gz |
DOC, BUG: Fix Python 3.6 invalid escape sequence.
The rst markup in numpy/doc/basics.py uses `\s`, which is interpreted by
python 3.6 as a deprecated escape sequence. Fix by escaping the `\`.
Closes #9551.
[ci skip]
Diffstat (limited to 'numpy/doc/basics.py')
-rw-r--r-- | numpy/doc/basics.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/doc/basics.py b/numpy/doc/basics.py index d0d384a62..4d3ab046e 100644 --- a/numpy/doc/basics.py +++ b/numpy/doc/basics.py @@ -158,8 +158,8 @@ compiler's ``long double`` available as ``np.longdouble`` (and numpy provides with ``np.finfo(np.longdouble)``. NumPy does not provide a dtype with more precision than C -``long double``\s; in particular, the 128-bit IEEE quad precision -data type (FORTRAN's ``REAL*16``\) is not available. +``long double``\\s; in particular, the 128-bit IEEE quad precision +data type (FORTRAN's ``REAL*16``\\) is not available. For efficient memory alignment, ``np.longdouble`` is usually stored padded with zero bits, either to 96 or 128 bits. Which is more efficient |