There was an error while loading. Please reload this page.
1 parent 9ae141e commit 7a2b992Copy full SHA for 7a2b992
1 file changed
Doc/c-api/bytes.rst
@@ -8,9 +8,9 @@ Bytes Objects
8
These functions raise :exc:`TypeError` when expecting a bytes parameter and
9
called with a non-bytes parameter.
10
11
-.. impl-detail::
12
- A :c:type:`PyBytesObject` allocates an extra trailing NUL byte for
13
- compatibility with NUL terminated C strings.
+A :c:type:`PyBytesObject` allocates an extra trailing NUL byte for
+compatibility with NUL terminated C strings. It is not counted in
+:c:func:`PyBytes_Size` length.
14
15
.. index:: pair: object; bytes
16
0 commit comments