summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorZachary Ware <zachary.ware@gmail.com>2014-01-31 18:06:14 (GMT)
committerZachary Ware <zachary.ware@gmail.com>2014-01-31 18:06:14 (GMT)
commita479b7505e88947dd8eff82b6bff604636287893 (patch)
tree574d24e49fb9f6c8f2fe2bb283555c53efd50c9a /Doc/c-api
parent19c1f3dce679f3dfc4142c1c0023cfb902bbb72c (diff)
downloadcpython-a479b7505e88947dd8eff82b6bff604636287893.zip
cpython-a479b7505e88947dd8eff82b6bff604636287893.tar.gz
cpython-a479b7505e88947dd8eff82b6bff604636287893.tar.bz2
Issue #20460: Render 'bytes' as a class, not a function.
Patch by OSAMU NAKAMURA.
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/arg.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst
index b4efbf0..58c0f3d 100644
--- a/Doc/c-api/arg.rst
+++ b/Doc/c-api/arg.rst
@@ -513,7 +513,7 @@ Building values
``None`` is returned.
``y`` (:class:`bytes`) [char \*]
- This converts a C string to a Python :func:`bytes` object. If the C
+ This converts a C string to a Python :class:`bytes` object. If the C
string pointer is *NULL*, ``None`` is returned.
``y#`` (:class:`bytes`) [char \*, int]