]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
authorGeorg Brandl <georg@python.org>
Sun, 17 Jul 2005 20:05:26 +0000 (20:05 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 17 Jul 2005 20:05:26 +0000 (20:05 +0000)
Doc/api/utilities.tex

index 397643e0c6e49e0f6c4d3cc479b2f5b884e380e0..ff8973f2fae701ef95f677c58ccdef7ad9d589a1 100644 (file)
@@ -539,7 +539,7 @@ whose address should be passed.
   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
+  Convert a Python integer or long integer to a C \ctype{unsigned long} without
   overflow checking.  \versionadded{2.3}
 
   \item[\samp{L} (integer) {[PY_LONG_LONG]}]
@@ -548,7 +548,7 @@ whose address should be passed.
   \ctype{_int64} on Windows).
 
   \item[\samp{K} (integer) {[unsigned PY_LONG_LONG]}]
-  Convert a Python integer to a C \ctype{unsigned long long}
+  Convert a Python integer or long 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}