Skip to content

Commit

Permalink
Fix several typos in documentation (pythonGH-118625)
Browse files Browse the repository at this point in the history
  • Loading branch information
xyb authored and SonicField committed May 8, 2024
1 parent a3213b3 commit 7ad2e29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Doc/library/datetime.rst
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ Notes:
.. versionchanged:: 3.13
Comparison between :class:`.datetime` object and an instance of
the :class:`date` subclass that is not a :class:`!datetime` subclass
no longer coverts the latter to :class:`!date`, ignoring the time part
no longer converts the latter to :class:`!date`, ignoring the time part
and the time zone.
The default behavior can be changed by overriding the special comparison
methods in subclasses.
Expand Down Expand Up @@ -1257,7 +1257,7 @@ Supported operations:
.. versionchanged:: 3.13
Comparison between :class:`.datetime` object and an instance of
the :class:`date` subclass that is not a :class:`!datetime` subclass
no longer coverts the latter to :class:`!date`, ignoring the time part
no longer converts the latter to :class:`!date`, ignoring the time part
and the time zone.
The default behavior can be changed by overriding the special comparison
methods in subclasses.
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/dis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ The following options are accepted:
Show offsets of instructions.

If :file:`infile` is specified, its disassembled code will be written to stdout.
Otherwise, disassembly is performed on compiled source code recieved from stdin.
Otherwise, disassembly is performed on compiled source code received from stdin.

Bytecode analysis
-----------------
Expand Down
2 changes: 1 addition & 1 deletion Doc/library/msvcrt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ Other Functions

After you use :func:`CrtSetReportMode` to specify :const:`CRTDBG_MODE_FILE`,
you can specify the file handle to receive the message text. *type* must be
one of the :const:`!CRT_\*` constants listed below. *file* shuld be the file
one of the :const:`!CRT_\*` constants listed below. *file* should be the file
handle your want specified. Only available in
:ref:`debug build of Python <debug-build>`.

Expand Down

0 comments on commit 7ad2e29

Please sign in to comment.