[Python-checkins] python/dist/src/Doc/api utilities.tex,1.9,1.10

theller@users.sourceforge.net theller@users.sourceforge.net
Wed, 23 Apr 2003 12:27:40 -0700


Update of /cvsroot/python/python/dist/src/Doc/api
In directory sc8-pr-cvs1:/tmp/cvs-serv25303

Modified Files:
	utilities.tex 
Log Message:
Document the new format codes B, H, I, k, K.


Index: utilities.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/utilities.tex,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** utilities.tex	29 Mar 2003 10:04:54 -0000	1.9
--- utilities.tex	23 Apr 2003 19:27:35 -0000	1.10
***************
*** 488,504 ****
--- 488,526 ----
    Convert a Python integer to a tiny int, stored in a C \ctype{char}.
  
+   \item[\samp{B} (integer) {[unsigned char]}]
+   Convert a Python integer to a tiny int without overflow checking,
+   stored in a C \ctype{unsigned char}. \versionadded{2.3}
+ 
    \item[\samp{h} (integer) {[short int]}]
    Convert a Python integer to a C \ctype{short int}.
  
+   \item[\samp{H} (integer) {[unsigned short int]}]
+   Convert a Python integer to a C \ctype{unsigned short int}, without
+   overflow checking.  \versionadded{2.3}
+ 
    \item[\samp{i} (integer) {[int]}]
    Convert a Python integer to a plain C \ctype{int}.
  
+   \item[\samp{I} (integer) {[unsigned int]}]
+   Convert a Python integer to a C \ctype{unsigned int}, without
+   overflow checking.  \versionadded{2.3}
+ 
    \item[\samp{l} (integer) {[long int]}]
    Convert a Python integer to a C \ctype{long int}.
  
+   \item[\samp{k} (integer) {[unsigned long]}]
+   Convert a Python integer to a C \ctype{unsigned long} without
+   overflow checking.  \versionadded{2.3}
+ 
    \item[\samp{L} (integer) {[PY_LONG_LONG]}]
    Convert a Python integer to a C \ctype{long long}.  This format is
    only available on platforms that support \ctype{long long} (or
    \ctype{_int64} on Windows).
+ 
+   \item[\samp{K} (integer) {[unsigned PY_LONG_LONG]}]
+   Convert a Python integer to a C \ctype{unsigned long long}
+   without overflow checking.  This format is only available on
+   platforms that support \ctype{unsigned long long} (or
+   \ctype{unsigned _int64} on Windows).  \versionadded{2.3}
  
    \item[\samp{c} (string of length 1) {[char]}]