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

Anthony Baxter anthonybaxter@users.sourceforge.net
Thu, 01 Nov 2001 05:34:12 -0800


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

Modified Files:
      Tag: release21-maint
	structmodule.c 
Log Message:
backport tim's 2.44
  Make clear in the docstring that "std" applies to both size and alignment,
  not just to alignment.  Spotted by Guido.

not normally bothering with docstring cleanups, but in this case Tim _did_
note it as a bugfix candidate, so I'll be nice :)



Index: structmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/structmodule.c,v
retrieving revision 2.42
retrieving revision 2.42.2.1
diff -C2 -d -r2.42 -r2.42.2.1
*** structmodule.c	2001/04/08 23:39:38	2.42
--- structmodule.c	2001/11/01 13:34:10	2.42.2.1
***************
*** 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\