summaryrefslogtreecommitdiff
path: root/numpy/add_newdocs.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2016-12-13 15:53:56 -0700
committerCharles Harris <charlesr.harris@gmail.com>2016-12-14 11:33:22 -0700
commitec0e04694278ef9ea83537d308b07fc27c1b5f85 (patch)
treea28bb53d6827e5449c3f2d5ade3a4ad43bef7ca0 /numpy/add_newdocs.py
parent2a1e5a6d2ffdabf2a18875ee8dd57773d608e4c5 (diff)
downloadnumpy-ec0e04694278ef9ea83537d308b07fc27c1b5f85.tar.gz
DEP: Fix escaped string characters deprecated in Python 3.6.
In Python 3.6 a number of escape sequences that were previously accepted -- for instance "\(" that was translated to "\\(" -- are deprecated. To retain the previous behavior either raw strings must be used or the backslash must be properly escaped itself.
Diffstat (limited to 'numpy/add_newdocs.py')
-rw-r--r--numpy/add_newdocs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/add_newdocs.py b/numpy/add_newdocs.py
index 2834c963b..1d4bf4511 100644
--- a/numpy/add_newdocs.py
+++ b/numpy/add_newdocs.py
@@ -3722,7 +3722,7 @@ add_newdoc('numpy.core.multiarray', 'ndarray', ('itemset',
Parameters
----------
- \*args : Arguments
+ \\*args : Arguments
If one argument: a scalar, only used in case `a` is of size 1.
If two arguments: the last argument is the value to be set
and must be a scalar, the first argument specifies a single array