summaryrefslogtreecommitdiff
path: root/numpy/lib/npyio.py
diff options
context:
space:
mode:
authorAndras Deak <deak.andris@gmail.com>2017-10-21 01:58:46 +0200
committerAndras Deak <deak.andris@gmail.com>2017-10-21 01:58:46 +0200
commit97d29b0dcb527eb756d7e62f91158db3f51f61a3 (patch)
tree3b2d647b3fcfa2ac01abf7f558e030286d743e19 /numpy/lib/npyio.py
parent07e0cfee16dbdbe14cf5a9284e0c919b16d66aba (diff)
downloadnumpy-97d29b0dcb527eb756d7e62f91158db3f51f61a3.tar.gz
DOC: Unindent enumeration in savetxt docstring
The rendered markdown in the online documentation was broken due to the one-character indentation added in the multiline enumerations of the docstring of savetxt.
Diffstat (limited to 'numpy/lib/npyio.py')
-rw-r--r--numpy/lib/npyio.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/lib/npyio.py b/numpy/lib/npyio.py
index 96355ebc8..d2b8fb4ab 100644
--- a/numpy/lib/npyio.py
+++ b/numpy/lib/npyio.py
@@ -1090,12 +1090,12 @@ def savetxt(fname, X, fmt='%.18e', delimiter=' ', newline='\n', header='',
case `delimiter` is ignored. For complex `X`, the legal options
for `fmt` are:
a) a single specifier, `fmt='%.4e'`, resulting in numbers formatted
- like `' (%s+%sj)' % (fmt, fmt)`
+ like `' (%s+%sj)' % (fmt, fmt)`
b) a full string specifying every real and imaginary part, e.g.
- `' %.4e %+.4ej %.4e %+.4ej %.4e %+.4ej'` for 3 columns
+ `' %.4e %+.4ej %.4e %+.4ej %.4e %+.4ej'` for 3 columns
c) a list of specifiers, one per column - in this case, the real
- and imaginary part must have separate specifiers,
- e.g. `['%.3e + %.3ej', '(%.15e%+.15ej)']` for 2 columns
+ and imaginary part must have separate specifiers,
+ e.g. `['%.3e + %.3ej', '(%.15e%+.15ej)']` for 2 columns
delimiter : str, optional
String or character separating columns.
newline : str, optional