Skip to content

Commit 99bef6b

Browse files
committed
fix markup for rogue grave accents
1 parent 8296711 commit 99bef6b

16 files changed

Lines changed: 57 additions & 57 deletions

pep-0101.txt

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -548,52 +548,52 @@ the main repo.
548548
following feature release. When finished, the ``main``
549549
branch will now build Python ``X.Y+1``.
550550

551-
- First, set main up to be the next release, i.e.X.Y+1.a0::
551+
- First, set main up to be the next release, i.e.X.Y+1.a0::
552552

553-
$ git checkout main
554-
$ .../release-tools/release.py --bump 3.9.0a0
553+
$ git checkout main
554+
$ .../release-tools/release.py --bump 3.9.0a0
555555

556-
- Edit all version references in README.rst
556+
- Edit all version references in README.rst
557557

558-
- Move any historical "what's new" entries from ``Misc/NEWS`` to
559-
``Misc/HISTORY``.
558+
- Move any historical "what's new" entries from ``Misc/NEWS`` to
559+
``Misc/HISTORY``.
560560

561-
- Edit ``Doc/tutorial/interpreter.rst`` (2 references to '[Pp]ython3x',
562-
one to 'Python 3.x', also make the date in the banner consistent).
561+
- Edit ``Doc/tutorial/interpreter.rst`` (2 references to '[Pp]ython3x',
562+
one to 'Python 3.x', also make the date in the banner consistent).
563563

564-
- Edit ``Doc/tutorial/stdlib.rst`` and ``Doc/tutorial/stdlib2.rst``, which
565-
have each one reference to '[Pp]ython3x'.
564+
- Edit ``Doc/tutorial/stdlib.rst`` and ``Doc/tutorial/stdlib2.rst``, which
565+
have each one reference to '[Pp]ython3x'.
566566

567-
- Add a new ``whatsnew/3.x.rst`` file (with the comment near the top
568-
and the toplevel sections copied from the previous file) and
569-
add it to the toctree in ``whatsnew/index.rst``. But beware that
570-
the initial ``whatsnew/3.x.rst`` checkin from previous releases
571-
may be incorrect due to the initial midstream change to ``blurb``
572-
that propagates from release to release! Help break the cycle: if
573-
necessary make the following change::
567+
- Add a new ``whatsnew/3.x.rst`` file (with the comment near the top
568+
and the toplevel sections copied from the previous file) and
569+
add it to the toctree in ``whatsnew/index.rst``. But beware that
570+
the initial ``whatsnew/3.x.rst`` checkin from previous releases
571+
may be incorrect due to the initial midstream change to ``blurb``
572+
that propagates from release to release! Help break the cycle: if
573+
necessary make the following change::
574574

575-
- For full details, see the :source:`Misc/NEWS` file.
576-
+ For full details, see the :ref:`changelog <changelog>`.
575+
- For full details, see the :source:`Misc/NEWS` file.
576+
+ For full details, see the :ref:`changelog <changelog>`.
577577

578-
- Update the version number in ``configure.ac`` and re-run ``autoconf``.
578+
- Update the version number in ``configure.ac`` and re-run ``autoconf``.
579579

580-
- Make sure the ``SOURCE_URI`` in ``Doc/tools/extensions/pyspecific.py``
581-
points to ``main``.
580+
- Make sure the ``SOURCE_URI`` in ``Doc/tools/extensions/pyspecific.py``
581+
points to ``main``.
582582

583-
- Update the version numbers for the Windows builds in PC/ and
584-
PCbuild/, which have references to python38.
585-
NOTE, check with Steve Dower about this step, it is probably obsolete.::
583+
- Update the version numbers for the Windows builds in PC/ and
584+
PCbuild/, which have references to python38.
585+
NOTE, check with Steve Dower about this step, it is probably obsolete.::
586586

587-
$ find PC/ PCbuild/ -type f | xargs sed -i 's/python38/python39/g'
588-
$ git mv -f PC/os2emx/python38.def PC/os2emx/python39.def
589-
$ git mv -f PC/python38stub.def PC/python39stub.def
590-
$ git mv -f PC/python38gen.py PC/python39gen.py
587+
$ find PC/ PCbuild/ -type f | xargs sed -i 's/python38/python39/g'
588+
$ git mv -f PC/os2emx/python38.def PC/os2emx/python39.def
589+
$ git mv -f PC/python38stub.def PC/python39stub.def
590+
$ git mv -f PC/python38gen.py PC/python39gen.py
591591

592-
- Commit these changes to the main branch::
592+
- Commit these changes to the main branch::
593593

594-
$ git status
595-
$ git add ...
596-
$ git commit -m 'Bump to 3.9.0a0'
594+
$ git status
595+
$ git add ...
596+
$ git commit -m 'Bump to 3.9.0a0'
597597

598598
- Do another ``git status`` in this directory.
599599

pep-0103.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ you have done something like that::
137137
$ git branch v1 origin/v1
138138

139139
The first command clones remote repository into local directory
140-
`python``, creates a new local branch master, sets
140+
``python``, creates a new local branch master, sets
141141
remotes/origin/master as its upstream remote-tracking branch and
142142
checks it out into the working directory.
143143

pep-0261.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ There is a new configure option:
201201
===================== ============================================
202202
--enable-unicode=ucs2 configures a narrow ``Py_UNICODE``, and uses
203203
wchar_t if it fits
204-
--enable-unicode=ucs4 configures a wide `Py_UNICODE``, and uses
204+
--enable-unicode=ucs4 configures a wide ``Py_UNICODE``, and uses
205205
wchar_t if it fits
206206
--enable-unicode same as "=ucs2"
207207
--disable-unicode entirely remove the Unicode functionality.

pep-0339.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ To tie all of this example, consider the rule for 'while'::
8383
The node representing this will have ``TYPE(node) == while_stmt`` and
8484
the number of children can be 4 or 7 depending on if there is an 'else'
8585
statement. To access what should be the first ':' and require it be an
86-
actual ':' token, `(REQ(CHILD(node, 2), COLON)``.
86+
actual ':' token, ``(REQ(CHILD(node, 2), COLON)``.
8787

8888

8989
Abstract Syntax Trees (AST)

pep-0444.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ string. Each value is a bytes instance.
503503

504504
``SERVER_NAME``, ``SERVER_PORT``
505505
When combined with ``SCRIPT_NAME`` and ``PATH_INFO`` (or their raw
506-
equivalents)`, these variables can be used to complete the URL.
506+
equivalents), these variables can be used to complete the URL.
507507
Note, however, that ``HTTP_HOST``, if present, should be used in
508508
preference to ``SERVER_NAME`` for reconstructing the request URL.
509509
See the `URL Reconstruction`_ section below for more detail.

pep-0465.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1134,11 +1134,11 @@ systems work.
11341134

11351135
**Use a special "facade" type to support syntax like arr.M * arr:**
11361136
This is very similar to the previous proposal, in that the ``.M``
1137-
attribute would basically return the same object as ``arr *dot` would,
1137+
attribute would basically return the same object as ``arr *dot`` would,
11381138
and thus suffers the same objections about 'magicalness'. This
11391139
approach also has some non-obvious complexities: for example, while
1140-
``arr.M * arr`` must return an array, ``arr.M * arr.M`` and ``arr *
1141-
arr.M`` must return facade objects, or else ``arr.M * arr.M * arr``
1140+
``arr.M * arr`` must return an array, ``arr.M * arr.M`` and
1141+
``arr * arr.M`` must return facade objects, or else ``arr.M * arr.M * arr``
11421142
and ``arr * arr.M * arr`` will not work. But this means that facade
11431143
objects must be able to recognize both other array objects and other
11441144
facade objects (which creates additional complexity for writing

pep-0467.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ to handle this use-case::
143143
b'123'
144144

145145
Note that ``bytes.ascii()`` would handle simple ascii-encodable text correctly,
146-
unlike the `ascii()`` built-in::
146+
unlike the ``ascii()`` built-in::
147147

148148
>>> ascii("hello").encode('ascii')
149149
b"'hello'"

pep-0505.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -751,7 +751,7 @@ Going back to one of the motivating examples above, consider the following::
751751

752752
>>> import json
753753
>>> created = None
754-
>>> json.dumps({'created': created?.isoformat()})``
754+
>>> json.dumps({'created': created?.isoformat()})
755755

756756
The JSON serializer does not know how to serialize ``NoneQuestion``, nor will
757757
any other API. This proposal actually requires *lots of specialized logic*

pep-0532.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ raised when discussing PEPs 335, 505 and 531.
660660

661661
One consequence of this approach is that this PEP *on its own* doesn't produce
662662
much in the way of direct benefits to end users aside from making it possible
663-
to omit some common ``None if `` prefixes and `` else None`` suffixes from
663+
to omit some common ``None if`` prefixes and ``else None`` suffixes from
664664
particular forms of conditional expression.
665665

666666
Instead, what it mainly provides is a common foundation that would allow the
@@ -759,13 +759,13 @@ expression as follows::
759759
>>> maybe_value = is_not_none(data.get("key"))
760760
>>> maybe_value if maybe_value else y
761761

762-
If `bool(maybe_value)`` is ``True``, then the expression short-circuits and
762+
If ``bool(maybe_value)`` is ``True``, then the expression short-circuits and
763763
the interpreter calls ``type(maybe_value).__else__(maybe_value, maybe_value)``.
764764
The implementation of ``types.CircuitBreaker.__then__`` detects that the
765765
instance method has received itself as its argument and returns the wrapped
766766
value (i.e. ``data.get("key")``) rather than the circuit breaker.
767767

768-
If `bool(maybe_value)`` is ``True``, the interpreter calls
768+
If ``bool(maybe_value)`` is ``True``, the interpreter calls
769769
``type(maybe_value).__else__(maybe_value, y)``. The implementation of
770770
``types.CircuitBreaker.__else__`` doesn't see anything that indicates
771771
short-circuiting has taken place, and hence returns ``y``.

pep-0570.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -655,7 +655,7 @@ passed by position or keyword::
655655
>>> standard_arg(arg=2)
656656
2
657657

658-
The second function ``pos_only_arg` is restricted to only use positional
658+
The second function ``pos_only_arg`` is restricted to only use positional
659659
parameters as there is a ``/`` in the function definition::
660660

661661
>>> pos_only_arg(1)

0 commit comments

Comments
 (0)