diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2020-05-26 19:04:47 -0400 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2020-05-26 19:04:47 -0400 |
commit | 92271ec06b7abc5b6c3daf2e94563c575983d436 (patch) | |
tree | 6aea4a7021d386dd82b9f8eb9eb6c7ca54039e9f /numpy | |
parent | 171ea2a856e7b40d0806501613f7361e09f0a2f8 (diff) | |
download | numpy-92271ec06b7abc5b6c3daf2e94563c575983d436.tar.gz |
MAINT: core: Use a raw string for the fromstring docstring.
This docstring needs to be a raw string so the backslashes
in the example are not processed by Python or Sphinx.
Closes gh-16390.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/core/records.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/records.py b/numpy/core/records.py index af59de425..7e1c0d591 100644 --- a/numpy/core/records.py +++ b/numpy/core/records.py @@ -772,7 +772,7 @@ def fromrecords(recList, dtype=None, shape=None, formats=None, names=None, def fromstring(datastring, dtype=None, shape=None, offset=0, formats=None, names=None, titles=None, aligned=False, byteorder=None): - """Create a record array from binary data + r"""Create a record array from binary data Note that despite the name of this function it does not accept `str` instances. |