]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix several typos in documentation (GH-118625)
authorXie Yanbo <xieyanbo@gmail.com>
Tue, 7 May 2024 09:23:06 +0000 (17:23 +0800)
committerGitHub <noreply@github.com>
Tue, 7 May 2024 09:23:06 +0000 (09:23 +0000)
Doc/library/datetime.rst
Doc/library/dis.rst
Doc/library/msvcrt.rst

index f40c6cea83820c4146bb6353508e7550a8d752b8..b20b2027cfcc93c74195e7a79a981a89e202eb4c 100644 (file)
@@ -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.
@@ -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.
index 21ac2c87a1859e0291694eb21ed79b04d69bb482..e255fad55e4a250f3fb47fed1790a086346507b3 100644 (file)
@@ -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
 -----------------
index ac3458c86fd4c4f0c17136b3c0d1ff862ba36e74..72da777cd1407e3f6b1ece582525dd24182d28b3 100644 (file)
@@ -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>`.