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/lib | |
| 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/lib')
| -rw-r--r-- | numpy/lib/polynomial.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/polynomial.py b/numpy/lib/polynomial.py index 1cbb3cd88..f824c4c5e 100644 --- a/numpy/lib/polynomial.py +++ b/numpy/lib/polynomial.py @@ -550,7 +550,7 @@ def polyfit(x, y, deg, rcond=None, full=False, w=None, cov=False): ----- The solution minimizes the squared error - .. math :: + .. math:: E = \\sum_{j=0}^k |p(x_j) - y_j|^2 in the equations:: |
