summaryrefslogtreecommitdiff
path: root/doc/Py3K.rst.txt
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:16:06 -0600
committerCharles Harris <charlesr.harris@gmail.com>2013-08-18 11:20:45 -0600
commit8ddb0ce0acafe75d78df528b4d2540dfbf4b364d (patch)
tree156b23f48f14c7c1df699874007c521b5482d1a4 /doc/Py3K.rst.txt
parent13b0b272f764c14bc4ac34f5b19fd030d9c611a4 (diff)
downloadnumpy-8ddb0ce0acafe75d78df528b4d2540dfbf4b364d.tar.gz
STY: Giant whitespace cleanup.
Now is as good a time as any with open PR's at a low.
Diffstat (limited to 'doc/Py3K.rst.txt')
-rw-r--r--doc/Py3K.rst.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/Py3K.rst.txt b/doc/Py3K.rst.txt
index ad76fe240..e06461794 100644
--- a/doc/Py3K.rst.txt
+++ b/doc/Py3K.rst.txt
@@ -483,7 +483,7 @@ So what is done in ``PyArray_FromAny`` currently is that:
3118 buffers, so that::
array([some_3118_object])
-
+
will treat the object similarly as it would handle an `ndarray`.
However, again, bytes (and unicode) have priority and will not be
@@ -491,13 +491,13 @@ So what is done in ``PyArray_FromAny`` currently is that:
This amounts to possible semantic changes:
-- ``array(buffer)`` will no longer create an object array
+- ``array(buffer)`` will no longer create an object array
``array([buffer], dtype='O')``, but will instead expand to a view
on the buffer.
.. todo::
- Take a second look at places that used PyBuffer_FromMemory and
+ Take a second look at places that used PyBuffer_FromMemory and
PyBuffer_FromReadWriteMemory -- what can be done with these?
.. todo::
@@ -633,7 +633,7 @@ Currently, the following is done:
1) Numpy's integer types no longer inherit from Python integer.
2) int is taken dtype-equivalent to NPY_LONG
-3) ints are converted to NPY_LONG
+3) ints are converted to NPY_LONG
PyInt methods are currently replaced by PyLong, via macros in npy_3kcompat.h.