diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-08 16:15:54 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-08 16:15:54 (GMT) |
commit | 47ff0734b817d293ae84603efad2f3f508d85f78 (patch) | |
tree | 4be3f7fa6164e1a3ca0e3a1b9fdd3a7b12f334c3 /Doc/c-api/arg.rst | |
parent | c71ec8aef37f8a72d1dc3237b127f15a32ba0997 (diff) | |
download | cpython-47ff0734b817d293ae84603efad2f3f508d85f78.zip cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.gz cpython-47ff0734b817d293ae84603efad2f3f508d85f78.tar.bz2 |
more PY_LONG_LONG to long long
Diffstat (limited to 'Doc/c-api/arg.rst')
-rw-r--r-- | Doc/c-api/arg.rst | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index f932997..569903f 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -265,15 +265,12 @@ Numbers Convert a Python integer to a C :c:type:`unsigned long` without overflow checking. -``L`` (:class:`int`) [PY_LONG_LONG] - Convert a Python integer to a C :c:type:`long long`. This format is only - available on platforms that support :c:type:`long long` (or :c:type:`_int64` on - Windows). +``L`` (:class:`int`) [long long] + Convert a Python integer to a C :c:type:`long long`. -``K`` (:class:`int`) [unsigned PY_LONG_LONG] +``K`` (:class:`int`) [unsigned long long] Convert a Python integer to a C :c:type:`unsigned long long` - without overflow checking. This format is only available on platforms that - support :c:type:`unsigned long long` (or :c:type:`unsigned _int64` on Windows). + without overflow checking. ``n`` (:class:`int`) [Py_ssize_t] Convert a Python integer to a C :c:type:`Py_ssize_t`. @@ -594,15 +591,11 @@ Building values ``k`` (:class:`int`) [unsigned long] Convert a C :c:type:`unsigned long` to a Python integer object. - ``L`` (:class:`int`) [PY_LONG_LONG] - Convert a C :c:type:`long long` to a Python integer object. Only available - on platforms that support :c:type:`long long` (or :c:type:`_int64` on - Windows). + ``L`` (:class:`int`) [long long] + Convert a C :c:type:`long long` to a Python integer object. - ``K`` (:class:`int`) [unsigned PY_LONG_LONG] - Convert a C :c:type:`unsigned long long` to a Python integer object. Only - available on platforms that support :c:type:`unsigned long long` (or - :c:type:`unsigned _int64` on Windows). + ``K`` (:class:`int`) [unsigned long long] + Convert a C :c:type:`unsigned long long` to a Python integer object. ``n`` (:class:`int`) [Py_ssize_t] Convert a C :c:type:`Py_ssize_t` to a Python integer. |