Skip to content

Commit 534f039

Browse files
committed
Fix documentation markup for translation
1 parent 0e35313 commit 534f039

5 files changed

Lines changed: 20 additions & 20 deletions

File tree

‎Doc/c-api/call.rst‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -81,17 +81,17 @@ This is a pointer to a function with the following signature:
8181
8282
- *callable* is the object being called.
8383
- *args* is a C array consisting of the positional arguments followed by the
84-
values of the keyword arguments.
85-
This can be *NULL* if there are no arguments.
84+
values of the keyword arguments.
85+
This can be *NULL* if there are no arguments.
8686
- *nargsf* is the number of positional arguments plus possibly the
87-
:c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag.
88-
To get the actual number of positional arguments from *nargsf*,
89-
use :c:func:`PyVectorcall_NARGS`.
87+
:c:macro:`PY_VECTORCALL_ARGUMENTS_OFFSET` flag.
88+
To get the actual number of positional arguments from *nargsf*,
89+
use :c:func:`PyVectorcall_NARGS`.
9090
- *kwnames* is a tuple containing the names of the keyword arguments;
91-
in other words, the keys of the kwargs dict.
92-
These names must be strings (instances of ``str`` or a subclass)
93-
and they must be unique.
94-
If there are no keyword arguments, then *kwnames* can instead be *NULL*.
91+
in other words, the keys of the kwargs dict.
92+
These names must be strings (instances of ``str`` or a subclass)
93+
and they must be unique.
94+
If there are no keyword arguments, then *kwnames* can instead be *NULL*.
9595

9696
.. c:macro:: PY_VECTORCALL_ARGUMENTS_OFFSET
9797

‎Doc/library/asyncio-eventloop.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ Allows customizing how exceptions are handled in the event loop.
15371537
* 'source_traceback' (optional): Traceback of the source;
15381538
* 'handle_traceback' (optional): Traceback of the handle;
15391539
* 'asyncgen' (optional): Asynchronous generator that caused
1540-
the exception.
1540+
the exception.
15411541

15421542
.. note::
15431543

‎Doc/library/fractions.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ a single number, or from a string.
106106
.. versionchanged:: 3.12
107107
:class:`Fraction` instances now support float-style formatting, with
108108
presentation types ``"e"``, ``"E"``, ``"f"``, ``"F"``, ``"g"``, ``"G"``
109-
and ``"%""``.
109+
and ``"%"``.
110110

111111
.. versionchanged:: 3.13
112112
Formatting of :class:`Fraction` instances without a presentation type

‎Doc/library/tkinter.font.rst‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,13 @@ The different font weights and slants are:
120120
Options include:
121121

122122
*ascent* - distance between baseline and highest point that a
123-
character of the font can occupy
123+
character of the font can occupy
124124

125125
*descent* - distance between baseline and lowest point that a
126-
character of the font can occupy
126+
character of the font can occupy
127127

128128
*linespace* - minimum vertical separation necessary between any two
129-
characters of the font that ensures no vertical overlap between lines.
129+
characters of the font that ensures no vertical overlap between lines.
130130

131131
*fixed* - 1 if font is fixed-width else 0
132132

‎Doc/whatsnew/3.12.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,17 +1995,17 @@ New Features
19951995
to bypass reference counts, and related changes to the C-API:
19961996

19971997
- ``_Py_IMMORTAL_REFCNT``: The reference count that defines an object
1998-
as immortal.
1998+
as immortal.
19991999
- ``_Py_IsImmortal`` Checks if an object has the immortal reference count.
20002000
- ``PyObject_HEAD_INIT`` This will now initialize reference count to
2001-
``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``.
2001+
``_Py_IMMORTAL_REFCNT`` when used with ``Py_BUILD_CORE``.
20022002
- ``SSTATE_INTERNED_IMMORTAL`` An identifier for interned unicode objects
2003-
that are immortal.
2003+
that are immortal.
20042004
- ``SSTATE_INTERNED_IMMORTAL_STATIC`` An identifier for interned unicode
2005-
objects that are immortal and static
2005+
objects that are immortal and static
20062006
- ``sys.getunicodeinternedsize`` This returns the total number of unicode
2007-
objects that have been interned. This is now needed for :file:`refleak.py` to
2008-
correctly track reference counts and allocated blocks
2007+
objects that have been interned. This is now needed for :file:`refleak.py` to
2008+
correctly track reference counts and allocated blocks
20092009

20102010
(Contributed by Eddie Elizondo in :gh:`84436`.)
20112011

0 commit comments

Comments
 (0)