[Python-checkins] cpython: Issue #15855: updated related manual entries.

alexander.belopolsky python-checkins at python.org
Mon Sep 3 23:29:33 CEST 2012


http://hg.python.org/cpython/rev/82ae284cd5f1
changeset:   78851:82ae284cd5f1
user:        Alexander Belopolsky <alexander.belopolsky at gmail.com>
date:        Mon Sep 03 17:29:22 2012 -0400
summary:
  Issue #15855: updated related manual entries.

files:
  Doc/library/stdtypes.rst |  8 +++++++-
  1 files changed, 7 insertions(+), 1 deletions(-)


diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst
--- a/Doc/library/stdtypes.rst
+++ b/Doc/library/stdtypes.rst
@@ -2687,13 +2687,19 @@
    .. attribute:: shape
 
       A tuple of integers the length of :attr:`ndim` giving the shape of the
-      memory as a N-dimensional array.
+      memory as an N-dimensional array.
+
+      .. versionchanged:: 3.3
+         An empty tuple instead of None when ndim = 0.
 
    .. attribute:: strides
 
       A tuple of integers the length of :attr:`ndim` giving the size in bytes to
       access each element for each dimension of the array.
 
+      .. versionchanged:: 3.3
+         An empty tuple instead of None when ndim = 0.
+
    .. attribute:: suboffsets
 
       Used internally for PIL-style arrays. The value is informational only.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list