Skip to content

Commit 1d3f14c

Browse files
committed
Add the note as a CPython implementation detail
1 parent 65550b7 commit 1d3f14c

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Doc/c-api/bytes.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ Bytes Objects
88
These functions raise :exc:`TypeError` when expecting a bytes parameter and
99
called with a non-bytes parameter.
1010

11-
A :c:type:`PyBytesObject` allocates an extra trailing null byte for
12-
compatibility with null terminated C strings. It is not counted in
13-
:c:func:`PyBytes_Size` length.
11+
.. impl-detail::
12+
13+
A :c:type:`PyBytesObject` allocates an extra trailing null byte for
14+
compatibility with null terminated C strings. It is not counted in
15+
:c:func:`PyBytes_Size` length.
1416

1517
.. index:: pair: object; bytes
1618

0 commit comments

Comments
 (0)