]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix four spelling typos in documentation (GH-7753)
authorXtreak <tirkarthi@users.noreply.github.com>
Tue, 19 Jun 2018 03:46:49 +0000 (09:16 +0530)
committerXiang Zhang <angwerzx@126.com>
Tue, 19 Jun 2018 03:46:49 +0000 (11:46 +0800)
Doc/howto/doanddont.rst
Doc/library/idle.rst
Doc/library/sysconfig.rst
Doc/library/time.rst

index 98dbad192de536e69cada8e3d855c5b470f3c41d..35e158370e3a9586628528dd8e6b7074fcad6f5e 100644 (file)
@@ -285,7 +285,7 @@ There are also many useful built-in functions people seem not to be aware of
 for some reason: :func:`min` and :func:`max` can find the minimum/maximum of
 any sequence with comparable semantics, for example, yet many people write
 their own :func:`max`/:func:`min`. Another highly useful function is
-:func:`reduce` which can be used to repeatly apply a binary operation to a
+:func:`reduce` which can be used to repeatedly apply a binary operation to a
 sequence, reducing it to a single value.  For example, compute a factorial
 with a series of multiply operations::
 
index a461e51c21570cc2734babe06e795fecb53cc009..3848231b619c18d9ca98aa9afc5a14178e044aca 100644 (file)
@@ -442,7 +442,7 @@ longer or disable the extension.
 Calltips
 ^^^^^^^^
 
-A calltip is shown when one types :kbd:`(` after the name of an *acccessible*
+A calltip is shown when one types :kbd:`(` after the name of an *accessible*
 function.  A name expression may include dots and subscripts.  A calltip
 remains until it is clicked, the cursor is moved out of the argument area,
 or :kbd:`)` is typed.  When the cursor is in the argument part of a definition,
index e8fc09e995707e06bdf365a63eea09a4af4599df..3b58266d228aecf6603fce71a4c922e6821fd133 100644 (file)
@@ -83,7 +83,7 @@ Python currently supports seven schemes:
 - *nt*: scheme for NT platforms like Windows.
 - *nt_user*: scheme for NT platforms, when the *user* option is used.
 - *os2*: scheme for OS/2 platforms.
-- *os2_home*: scheme for OS/2 patforms, when the *user* option is used.
+- *os2_home*: scheme for OS/2 platforms, when the *user* option is used.
 
 Each scheme is itself composed of a series of paths and each path has a unique
 identifier.  Python currently uses eight paths:
index b2a9253cc84c8d83fc5101c09eb1499815a3b42a..48a01db7520f6941c9ac38bcbfbe2cd5d0f97a6b 100644 (file)
@@ -236,7 +236,7 @@ The module defines the following functions and data items:
    argument.  If *t* is not provided, the current time as returned by
    :func:`localtime` is used.  *format* must be a string.  :exc:`ValueError` is
    raised if any field in *t* is outside of the allowed range. :func:`strftime`
-   returns a locale depedent byte string; the result may be converted to unicode
+   returns a locale dependent byte string; the result may be converted to unicode
    by doing ``strftime(<myformat>).decode(locale.getlocale()[1])``.
 
    .. versionchanged:: 2.1