diff options
author | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2021-11-03 09:43:53 -0700 |
---|---|---|
committer | Matthias Bussonnier <bussonniermatthias@gmail.com> | 2021-11-03 09:51:56 -0700 |
commit | 167539e4c2fdc6b77d6c73c9eebfa77e1507423e (patch) | |
tree | 844a26a3a6b7a63ae5bbf0670c9ad10a96c6690e /numpy/polynomial/polyutils.py | |
parent | b7dc11cbc1dc4c41475f001f2ee5ccbfe6d1a847 (diff) | |
download | numpy-167539e4c2fdc6b77d6c73c9eebfa77e1507423e.tar.gz |
DOC: Do not leave space between directive name and double colon.
From my regular expression foo, those are the only 9 case whereas there
are about ~2000 usage that do not have spaces.
While this is ok with docutils/sphinx, it does not seem to be
documented, and that means that other parsers will see that as comments,
leading to for example improper syntax highlighting.
This make it also a tiny bit harder to develop alternative rst parsers.
Diffstat (limited to 'numpy/polynomial/polyutils.py')
-rw-r--r-- | numpy/polynomial/polyutils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/polynomial/polyutils.py b/numpy/polynomial/polyutils.py index 3b0f0a9e5..a2bc75a4d 100644 --- a/numpy/polynomial/polyutils.py +++ b/numpy/polynomial/polyutils.py @@ -330,12 +330,12 @@ def mapdomain(x, old, new): ----- Effectively, this implements: - .. math :: + .. math:: x\\_out = new[0] + m(x - old[0]) where - .. math :: + .. math:: m = \\frac{new[1]-new[0]}{old[1]-old[0]} Examples |