summaryrefslogtreecommitdiff
path: root/numpy/doc/byteswapping.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-10-04 09:25:28 +0000
committerPauli Virtanen <pav@iki.fi>2009-10-04 09:25:28 +0000
commit3cebdec318dd5e188eb45bc034264c68722457b9 (patch)
tree7270f7687c063f64a079414cd699e975fb31a458 /numpy/doc/byteswapping.py
parentaddbc4bca2adab0d942d636ea639aa55f39a176b (diff)
downloadnumpy-3cebdec318dd5e188eb45bc034264c68722457b9.tar.gz
Proper escaping in doc.byteswapping
Diffstat (limited to 'numpy/doc/byteswapping.py')
-rw-r--r--numpy/doc/byteswapping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/doc/byteswapping.py b/numpy/doc/byteswapping.py
index 888148afa..23e7d7f6e 100644
--- a/numpy/doc/byteswapping.py
+++ b/numpy/doc/byteswapping.py
@@ -33,7 +33,7 @@ The bytes I have loaded from the file would have these contents:
>>> big_end_str = chr(0) + chr(1) + chr(3) + chr(2)
>>> big_end_str
-'\x00\x01\x03\x02'
+'\\x00\\x01\\x03\\x02'
We might want to use an ``ndarray`` to access these integers. In that
case, we can create an array around this memory, and tell numpy that