summaryrefslogtreecommitdiff
path: root/numpy/lib
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-12-17 18:50:15 -0500
committerGitHub <noreply@github.com>2016-12-17 18:50:15 -0500
commiteb8d76e0832369d7195f949fa34e6c064a9f57ae (patch)
treed7acc80cfdbf8280bd602585ad111c02c3b145b8 /numpy/lib
parent2e0970374590ef847538482baf2e9d5f43f46f8c (diff)
parentec0e04694278ef9ea83537d308b07fc27c1b5f85 (diff)
downloadnumpy-eb8d76e0832369d7195f949fa34e6c064a9f57ae.tar.gz
Merge pull request #8382 from charris/fix-python-3.6-compat
DEP: Fix escaped string characters deprecated in Python 3.6.
Diffstat (limited to 'numpy/lib')
-rw-r--r--numpy/lib/_iotools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/_iotools.py b/numpy/lib/_iotools.py
index dfdc38b72..67e21aa0c 100644
--- a/numpy/lib/_iotools.py
+++ b/numpy/lib/_iotools.py
@@ -300,7 +300,7 @@ class NameValidator(object):
"""
#
defaultexcludelist = ['return', 'file', 'print']
- defaultdeletechars = set("""~!@#$%^&*()-=+~\|]}[{';: /?.>,<""")
+ defaultdeletechars = set(r"""~!@#$%^&*()-=+~\|]}[{';: /?.>,<""")
#
def __init__(self, excludelist=None, deletechars=None,