Commit 9c131787 authored by Xtreak's avatar Xtreak Committed by Xiang Zhang

Fix four spelling typos in documentation (GH-7753)

parent 60c888d0
...@@ -285,7 +285,7 @@ There are also many useful built-in functions people seem not to be aware of ...@@ -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 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 any sequence with comparable semantics, for example, yet many people write
their own :func:`max`/:func:`min`. Another highly useful function is 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 sequence, reducing it to a single value. For example, compute a factorial
with a series of multiply operations:: with a series of multiply operations::
......
...@@ -442,7 +442,7 @@ longer or disable the extension. ...@@ -442,7 +442,7 @@ longer or disable the extension.
Calltips 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 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, 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, or :kbd:`)` is typed. When the cursor is in the argument part of a definition,
......
...@@ -83,7 +83,7 @@ Python currently supports seven schemes: ...@@ -83,7 +83,7 @@ Python currently supports seven schemes:
- *nt*: scheme for NT platforms like Windows. - *nt*: scheme for NT platforms like Windows.
- *nt_user*: scheme for NT platforms, when the *user* option is used. - *nt_user*: scheme for NT platforms, when the *user* option is used.
- *os2*: scheme for OS/2 platforms. - *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 Each scheme is itself composed of a series of paths and each path has a unique
identifier. Python currently uses eight paths: identifier. Python currently uses eight paths:
......
...@@ -236,7 +236,7 @@ The module defines the following functions and data items: ...@@ -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 argument. If *t* is not provided, the current time as returned by
:func:`localtime` is used. *format* must be a string. :exc:`ValueError` is :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` 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])``. by doing ``strftime(<myformat>).decode(locale.getlocale()[1])``.
.. versionchanged:: 2.1 .. versionchanged:: 2.1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment