Skip to content

Docs: fix some typos in docfiles(.rst .md) #132589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion InternalDocs/parser.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Consequences of the ordered choice operator
-------------------------------------------

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

If a rule has two alternatives and the first of them succeeds, the second one is
Expand Down
4 changes: 2 additions & 2 deletions Misc/NEWS.d/3.14.0a1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3586,7 +3586,7 @@ atomic types.

Add *doc* parameter to :func:`dataclasses.field`, so it can be stored and
shown as a documentation / metadata. If ``@dataclass(slots=True)`` is used,
then the supplied string is availabl in the :attr:`~object.__slots__` dict.
then the supplied string is available in the :attr:`~object.__slots__` dict.
Otherwise, the supplied string is only available in the corresponding
:class:`dataclasses.Field` object.

Expand Down Expand Up @@ -4184,7 +4184,7 @@ display REPL ``help()``.
.. nonce: aFqNAB
.. section: Core and Builtins

Fix reading and decoding a line from the source file witn non-UTF-8 encoding
Fix reading and decoding a line from the source file with non-UTF-8 encoding
for syntax errors raised in the compiler.

..
Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.14.0a2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ same manner as :data:`sys.path` is configured in workers before executing
work items.

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

Expand Down
2 changes: 1 addition & 1 deletion Misc/NEWS.d/3.14.0a4.rst
Original file line number Diff line number Diff line change
Expand Up @@ -649,7 +649,7 @@ searching the Python interpreter directory.
.. section: Core and Builtins

We now use the location of the ``libpython`` runtime library used in the
current proccess to determine :data:`sys.base_prefix` on all platforms
current process to determine :data:`sys.base_prefix` on all platforms
implementing the `dladdr
<https://pubs.opengroup.org/onlinepubs/9799919799/functions/dladdr.html>`_
function defined by the UNIX standard — this includes Linux, Android, macOS,
Expand Down
8 changes: 4 additions & 4 deletions Misc/NEWS.d/3.14.0a6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Use monospace font from System Font Stack for cross-platform support in
.. nonce: 3sBFv2
.. section: Library

Improve perfomance of :attr:`uuid.UUID.hex` and :meth:`uuid.UUID.__str__
Improve performance of :attr:`uuid.UUID.hex` and :meth:`uuid.UUID.__str__
<object.__str__>`.

..
Expand Down Expand Up @@ -535,7 +535,7 @@ the correct type, when called with optimize=False.

Forbid the use of colon (":") as a fractional component separator and other
improvements to the consistency of error raising between the C and Python
implementaitons of :meth:`datetime.time.fromisoformat` and
implementations of :meth:`datetime.time.fromisoformat` and
:meth:`datetime.datetime.fromisoformat`. Patch by Semyon Moroz.

..
Expand Down Expand Up @@ -1109,7 +1109,7 @@ Fix two more :class:`bytearray` functions for :term:`free threading`.

Use tagged references (``_PyStackRef``) for the default build as well as for
the free-threading build. This has a small negative performance impact
short-term but will enable larger speedups in the future and signficantly
short-term but will enable larger speedups in the future and significantly
reduce maintenance costs by allowing a single implementation of tagged
references in the future.

Expand Down Expand Up @@ -1209,7 +1209,7 @@ is called concurrently with ``set.clear()``.
.. section: Core and Builtins

The internal (evaluation) stack is now spilled to memory whenever execution
esacpes from the interpreter or JIT compiled code. This should have no
escapes from the interpreter or JIT compiled code. This should have no
observable effect in either Python or builtin extensions, but will allow
various important optimizations in the future.

Expand Down
2 changes: 1 addition & 1 deletion Tools/wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export EM_COMPILER_WRAPPER=ccache

#### Compile and build Python interpreter

You can use `python Tools/wasm/emscripten` to compile and build targetting
You can use `python Tools/wasm/emscripten` to compile and build targeting
Emscripten. You can do everything at once with:
```shell
python Tools/wasm/emscripten build
Expand Down
Loading