summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-07-17 20:05:26 (GMT)
committerGeorg Brandl <georg@python.org>2005-07-17 20:05:26 (GMT)
commitea2578404f36ffdb21d8dec4796f234dc24306ac (patch)
tree12d1ab7e6aa3752ed933bde2dca4ca6ffe6f8386
parent3cbab93d0d1ade2b682aae60706a9d2120a7a8e1 (diff)
downloadcpython-ea2578404f36ffdb21d8dec4796f234dc24306ac.zip
cpython-ea2578404f36ffdb21d8dec4796f234dc24306ac.tar.gz
cpython-ea2578404f36ffdb21d8dec4796f234dc24306ac.tar.bz2
backport bug [ 1061920 ] "k" specifier in PyArg_ParseTuple incomplete documentated
-rw-r--r--Doc/api/utilities.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/api/utilities.tex b/Doc/api/utilities.tex
index 397643e..ff8973f 100644
--- a/Doc/api/utilities.tex
+++ b/Doc/api/utilities.tex
@@ -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}