There was an error while loading. Please reload this page.
1 parent 9398655 commit 9ae141eCopy full SHA for 9ae141e
1 file changed
Doc/c-api/bytes.rst
@@ -8,6 +8,10 @@ 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.
14
+
15
.. index:: pair: object; bytes
16
17
0 commit comments