Skip to content

Commit a985c92

Browse files
authored
Fix some typos in various doc files (GH-132589)
1 parent 62173cc commit a985c92

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

InternalDocs/parser.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Consequences of the ordered choice operator
9797
-------------------------------------------
9898

9999
Although PEG may look like EBNF, its meaning is quite different. The fact
100-
that the alternatives are ordered in a PEG grammer (which is at the core of
100+
that the alternatives are ordered in a PEG grammar (which is at the core of
101101
how PEG parsers work) has deep consequences, other than removing ambiguity.
102102

103103
If a rule has two alternatives and the first of them succeeds, the second one is

Misc/NEWS.d/3.14.0a1.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -3586,7 +3586,7 @@ atomic types.
35863586
35873587
Add *doc* parameter to :func:`dataclasses.field`, so it can be stored and
35883588
shown as a documentation / metadata. If ``@dataclass(slots=True)`` is used,
3589-
then the supplied string is availabl in the :attr:`~object.__slots__` dict.
3589+
then the supplied string is available in the :attr:`~object.__slots__` dict.
35903590
Otherwise, the supplied string is only available in the corresponding
35913591
:class:`dataclasses.Field` object.
35923592

@@ -4184,7 +4184,7 @@ display REPL ``help()``.
41844184
.. nonce: aFqNAB
41854185
.. section: Core and Builtins
41864186
4187-
Fix reading and decoding a line from the source file witn non-UTF-8 encoding
4187+
Fix reading and decoding a line from the source file with non-UTF-8 encoding
41884188
for syntax errors raised in the compiler.
41894189

41904190
..

Misc/NEWS.d/3.14.0a2.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ same manner as :data:`sys.path` is configured in workers before executing
310310
work items.
311311

312312
This bug caused some forkserver module preloading to silently fail to
313-
preload. This manifested as a performance degration in child processes when
313+
preload. This manifested as a performance degradation in child processes when
314314
the ``sys.path`` was required due to additional repeated work in every
315315
worker.
316316

Misc/NEWS.d/3.14.0a4.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -649,7 +649,7 @@ searching the Python interpreter directory.
649649
.. section: Core and Builtins
650650
651651
We now use the location of the ``libpython`` runtime library used in the
652-
current proccess to determine :data:`sys.base_prefix` on all platforms
652+
current process to determine :data:`sys.base_prefix` on all platforms
653653
implementing the `dladdr
654654
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/dladdr.html>`_
655655
function defined by the UNIX standard — this includes Linux, Android, macOS,

Misc/NEWS.d/3.14.0a6.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ Use monospace font from System Font Stack for cross-platform support in
160160
.. nonce: 3sBFv2
161161
.. section: Library
162162
163-
Improve perfomance of :attr:`uuid.UUID.hex` and :meth:`uuid.UUID.__str__
163+
Improve performance of :attr:`uuid.UUID.hex` and :meth:`uuid.UUID.__str__
164164
<object.__str__>`.
165165

166166
..
@@ -535,7 +535,7 @@ the correct type, when called with optimize=False.
535535
536536
Forbid the use of colon (":") as a fractional component separator and other
537537
improvements to the consistency of error raising between the C and Python
538-
implementaitons of :meth:`datetime.time.fromisoformat` and
538+
implementations of :meth:`datetime.time.fromisoformat` and
539539
:meth:`datetime.datetime.fromisoformat`. Patch by Semyon Moroz.
540540

541541
..
@@ -1109,7 +1109,7 @@ Fix two more :class:`bytearray` functions for :term:`free threading`.
11091109
11101110
Use tagged references (``_PyStackRef``) for the default build as well as for
11111111
the free-threading build. This has a small negative performance impact
1112-
short-term but will enable larger speedups in the future and signficantly
1112+
short-term but will enable larger speedups in the future and significantly
11131113
reduce maintenance costs by allowing a single implementation of tagged
11141114
references in the future.
11151115

@@ -1209,7 +1209,7 @@ is called concurrently with ``set.clear()``.
12091209
.. section: Core and Builtins
12101210
12111211
The internal (evaluation) stack is now spilled to memory whenever execution
1212-
esacpes from the interpreter or JIT compiled code. This should have no
1212+
escapes from the interpreter or JIT compiled code. This should have no
12131213
observable effect in either Python or builtin extensions, but will allow
12141214
various important optimizations in the future.
12151215

Tools/wasm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export EM_COMPILER_WRAPPER=ccache
5353

5454
#### Compile and build Python interpreter
5555

56-
You can use `python Tools/wasm/emscripten` to compile and build targetting
56+
You can use `python Tools/wasm/emscripten` to compile and build targeting
5757
Emscripten. You can do everything at once with:
5858
```shell
5959
python Tools/wasm/emscripten build

0 commit comments

Comments
 (0)