summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/arg.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/c-api/arg.rst')
-rw-r--r--Doc/c-api/arg.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index dfedf97..a554bc9 100644
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -208,9 +208,13 @@ variable(s) whose address should be passed.
Convert a Python integer to a C :ctype:`Py_ssize_t`.
``c`` (string of length 1) [char]
- Convert a Python character, represented as a string of length 1, to a C
+ Convert a Python character, represented as a byte string of length 1, to a C
:ctype:`char`.
+``C`` (string of length 1) [int]
+ Covert a Python character, represented as a unicode string of length 1, to a
+ C :ctype:`int`.
+
``f`` (float) [float]
Convert a Python floating point number to a C :ctype:`float`.