diff options
Diffstat (limited to 'numpy/core')
-rw-r--r-- | numpy/core/code_generators/generate_umath.py | 8 | ||||
-rw-r--r-- | numpy/core/memmap.py | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/numpy/core/code_generators/generate_umath.py b/numpy/core/code_generators/generate_umath.py index ba57d53e0..d831ceda9 100644 --- a/numpy/core/code_generators/generate_umath.py +++ b/numpy/core/code_generators/generate_umath.py @@ -673,10 +673,10 @@ def make_ufuncs(funcdict): mlist = [] docstring = textwrap.dedent(uf.docstring).strip() docstring = docstring.encode('string-escape').replace(r'"', r'\"') - # Split the docstring because some compilers (like MS) do not like big - # string literal in C code. We split at endlines because textwrap.wrap - # do not play well with \n - docstring = '\\n\"\"'.join(docstring.split(r"\n")) + # Split the docstring because some compilers (like MS) do not like big + # string literal in C code. We split at endlines because textwrap.wrap + # do not play well with \n + docstring = '\\n\"\"'.join(docstring.split(r"\n")) mlist.append(\ r"""f = PyUFunc_FromFuncAndData(%s_functions, %s_data, %s_signatures, %d, %d, %d, %s, "%s", diff --git a/numpy/core/memmap.py b/numpy/core/memmap.py index dd09b8e28..5bc314efc 100644 --- a/numpy/core/memmap.py +++ b/numpy/core/memmap.py @@ -74,7 +74,7 @@ class memmap(ndarray): Given a memmap ``fp``, ``isinstance(fp, numpy.ndarray)`` returns ``True``. - Notes + Notes ----- Memory-mapped arrays use the the Python memory-map object which |