This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, skrah
Date 2012-09-03.16:04:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346688280.1.0.169252770373.issue15855@psf.upfronthosting.co.za>
In-reply-to
Content
In the new patch, I added docstrings for the data members and now the list of memoryview data descriptors looks as follows in pydoc:

 |  ----------------------------------------------------------------------
 |  Data descriptors defined here:
 |  
 |  c_contiguous
 |      A bool indicating whether the memory is C contiguous.
 |  
 |  contiguous
 |      A bool indicating whether the memory is contiguous.
 |  
 |  f_contiguous
 |      A bool indicating whether the memory is Fortran contiguous.
 |  
 |  format
 |      A string containing the format (in struct module style)
 |      for each element in the view.
 |  
 |  itemsize
 |      The size in bytes of each element of the memoryview.
 |  
 |  nbytes
 |      The amount of space in bytes that the array would use in
 |      a contiguous representation.
 |  
 |  ndim
 |      An integer indicating how many dimensions of a multi-dimensional
 |      array the memory represents.
 |  
 |  obj
 |      The underlying object of the memoryview.
 |  
 |  readonly
 |      A bool indicating whether the memory is read only.
 |  
 |  shape
 |      A tuple of ndim integers giving the shape of the memory
 |      as a N-dimensional array.
 |  
 |  strides
 |      A tuple of ndim integers giving the size in bytes to access
 |      each element for each dimension of the array or None for C
 |      contiguous.
 |  
 |  suboffsets
 |      A tuple of ndim integers used internally for PIL-style arrays
 |      or None.
History
Date User Action Args
2012-09-03 16:04:40belopolskysetrecipients: + belopolsky, skrah
2012-09-03 16:04:40belopolskysetmessageid: <1346688280.1.0.169252770373.issue15855@psf.upfronthosting.co.za>
2012-09-03 16:04:38belopolskylinkissue15855 messages
2012-09-03 16:04:38belopolskycreate