diff options
author | Charles Harris <charlesr.harris@gmail.com> | 2018-03-10 19:44:45 -0700 |
---|---|---|
committer | Nathaniel J. Smith <njs@pobox.com> | 2018-03-10 18:44:45 -0800 |
commit | 055ce3e90b50b5f9ef8cf1b8641c42e391f10735 (patch) | |
tree | b227308ac6f98bac74c3e760e008d2954d2bf19c /numpy | |
parent | acf86c0a44bf640752991600ec7570c893a1ed8a (diff) | |
download | numpy-055ce3e90b50b5f9ef8cf1b8641c42e391f10735.tar.gz |
MAINT: Misc small fixes. (#10722)
* MAINT: Replace print statements for Python3.
Updates tools/swig/test/testSuperTensor.py.
* MAINT: Fix deprecated escaped characters for python 3.6+.
Update numpy/linalg/lapack_lite/clapack_scrub.py.
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/linalg/lapack_lite/clapack_scrub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/linalg/lapack_lite/clapack_scrub.py b/numpy/linalg/lapack_lite/clapack_scrub.py index ee4d9c265..e72a39e64 100644 --- a/numpy/linalg/lapack_lite/clapack_scrub.py +++ b/numpy/linalg/lapack_lite/clapack_scrub.py @@ -229,7 +229,7 @@ def removeHeader(source): def removeSubroutinePrototypes(source): expression = re.compile( - '/\* Subroutine \*/^\s*(?:(?:inline|static)\s+){0,2}(?!else|typedef|return)\w+\s+\*?\s*(\w+)\s*\([^0]+\)\s*;?' + r'/[*] Subroutine [*]/^\s*(?:(?:inline|static)\s+){0,2}(?!else|typedef|return)\w+\s+\*?\s*(\w+)\s*\([^0]+\)\s*;?' ) lines = LineQueue() for line in UStringIO(source): |