From 9c1317874c099b64b397bca84bb90aea72df82c0 Mon Sep 17 00:00:00 2001 From: Xtreak Date: Tue, 19 Jun 2018 09:16:49 +0530 Subject: [PATCH] Fix four spelling typos in documentation (GH-7753) --- Doc/howto/doanddont.rst | 2 +- Doc/library/idle.rst | 2 +- Doc/library/sysconfig.rst | 2 +- Doc/library/time.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Doc/howto/doanddont.rst b/Doc/howto/doanddont.rst index 98dbad192de5..35e158370e3a 100644 --- a/Doc/howto/doanddont.rst +++ b/Doc/howto/doanddont.rst @@ -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:: diff --git a/Doc/library/idle.rst b/Doc/library/idle.rst index a461e51c2157..3848231b619c 100644 --- a/Doc/library/idle.rst +++ b/Doc/library/idle.rst @@ -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, diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index e8fc09e99570..3b58266d228a 100644 --- a/Doc/library/sysconfig.rst +++ b/Doc/library/sysconfig.rst @@ -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: diff --git a/Doc/library/time.rst b/Doc/library/time.rst index b2a9253cc84c..48a01db7520f 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -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().decode(locale.getlocale()[1])``. .. versionchanged:: 2.1 -- 2.47.3