[Python-checkins] CVS: python/dist/src/Modules arraymodule.c,2.63,2.64

Guido van Rossum gvanrossum@users.sourceforge.net
Fri, 27 Jul 2001 09:05:35 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv9952

Modified Files:
	arraymodule.c 
Log Message:
Fix buffer_info() docstring to match reality.  See SF bug #444842.


Index: arraymodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/arraymodule.c,v
retrieving revision 2.63
retrieving revision 2.64
diff -C2 -d -r2.63 -r2.64
*** arraymodule.c	2001/06/05 04:43:26	2.63
--- arraymodule.c	2001/07/27 16:05:32	2.64
***************
*** 881,885 ****
  \n\
  Return a tuple (address, length) giving the current memory address and\n\
! the length in bytes of the buffer used to hold array's contents.";
  
  
--- 881,887 ----
  \n\
  Return a tuple (address, length) giving the current memory address and\n\
! the length in items of the buffer used to hold array's contents\n\
! The length should be multiplied by the itemsize attribute to calculate\n\
! the buffer length in bytes.";