Skip to content

Commit 3301169

Browse files
authored
PEP 445, PEP 467, PEP 548, PEP 621: Fix incorrect backticks (#1560)
1 parent 7172c58 commit 3301169

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pep-0445.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ allocator allocates a larger buffer and writes a pattern to detect buffer
164164
underflow, buffer overflow and use after free (by filling the buffer with
165165
the byte ``0xDB``). It uses the original ``PyObject_Malloc()``
166166
function to allocate memory. So ``PyMem_Malloc()`` and
167-
``PyMem_Realloc()`` indirectly call``PyObject_Malloc()`` and
167+
``PyMem_Realloc()`` indirectly call ``PyObject_Malloc()`` and
168168
``PyObject_Realloc()``.
169169

170170
This PEP redesigns the debug checks as hooks on the existing allocators

pep-0467.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ If an index is asked for that doesn't exist, ``IndexError`` is raised::
162162
Addition of optimised iterator methods that produce ``bytes`` objects
163163
---------------------------------------------------------------------
164164

165-
This PEP proposes that ``bytes`` and ``bytearray``gain an optimised
165+
This PEP proposes that ``bytes`` and ``bytearray`` gain an optimised
166166
``iterbytes`` method that produces length 1 ``bytes`` objects rather than
167167
integers::
168168

pep-0548.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ With the new syntax this becomes::
141141
break if not buf
142142
t.append(buf)
143143

144-
Reading this we first see the``break``, which obviously applies to
144+
Reading this we first see the ``break``, which obviously applies to
145145
the while since it is at the same level of indentation as the loop
146146
body, and then we read the condition that causes the flow of control
147147
to change.

pep-0621.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ Different structures for the ``readme`` field
583583
The ``readme`` field had a proposed ``readme_content_type`` field, but
584584
the authors considered the string/table hybrid more practical for the
585585
common case while still accommodating the more complex case. Same goes
586-
for using``long_description`` and a corresponding
586+
for using ``long_description`` and a corresponding
587587
``long_description_content_type`` field.
588588

589589
The ``file`` key in the table format was originally proposed as

0 commit comments

Comments
 (0)