[Python-checkins] CVS: python/dist/src/Modules structmodule.c,2.43,2.44

Tim Peters tim_one@users.sourceforge.net
Mon, 11 Jun 2001 09:45:35 -0700


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

Modified Files:
	structmodule.c 
Log Message:
Make clear in the docstring that "std" applies to both size and alignment,
not just to alignment.  Spotted by Guido.

Bugfix candidate.


Index: structmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/structmodule.c,v
retrieving revision 2.43
retrieving revision 2.44
diff -C2 -r2.43 -r2.44
*** structmodule.c	2001/06/10 23:40:19	2.43
--- structmodule.c	2001/06/11 16:45:33	2.44
***************
*** 10,19 ****
  and also as format strings to describe the layout of data in the C struct.\n\
  \n\
! The optional first format char indicates byte ordering and alignment:\n\
!  @: native w/native alignment(default)\n\
!  =: native w/standard alignment\n\
!  <: little-endian, std. alignment\n\
!  >: big-endian, std. alignment\n\
!  !: network, std (same as >)\n\
  \n\
  The remaining chars indicate types of args and must match exactly;\n\
--- 10,19 ----
  and also as format strings to describe the layout of data in the C struct.\n\
  \n\
! The optional first format char indicates byte order, size and alignment:\n\
!  @: native order, size & alignment (default)\n\
!  =: native order, std. size & alignment\n\
!  <: little-endian, std. size & alignment\n\
!  >: big-endian, std. size & alignment\n\
!  !: same as >\n\
  \n\
  The remaining chars indicate types of args and must match exactly;\n\