Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1fbd8e1

Browse files
committed
Fix nits.
1 parent 9f62d74 commit 1fbd8e1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

Doc/whatsnew/3.2.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ special values. It returns *True* for regular numbers and *False* for *Nan* or
10331033
[True, True, False, False]
10341034

10351035
The :func:`~math.expm1` function computes ``e**x-1`` for small values of *x*
1036-
without incuring the loss of precision that usually accompanies the subtraction
1036+
without incurring the loss of precision that usually accompanies the subtraction
10371037
of nearly equal quantities:
10381038

10391039
>>> expm1(0.013671875) # more accurate way to compute e**x-1 for a small x
@@ -1143,7 +1143,7 @@ decorator, :func:`~reprlib.recursive_repr`, for detecting recursive calls to
11431143
logging
11441144
-------
11451145

1146-
In addition to dictionary based configuration described above, the
1146+
In addition to dictionary-based configuration described above, the
11471147
:mod:`logging` package has many other improvements.
11481148

11491149
The logging documentation has been augmented by a :ref:`basic tutorial
@@ -1525,7 +1525,7 @@ archiving file formats (such as xz compressed tarfiles or custom formats).
15251525
The principal functions are :func:`~shutil.make_archive` and
15261526
:func:`~shutil.unpack_archive`. By default, both operate on the current
15271527
directory (which can be set by :func:`os.chdir`) and on any sub-directories.
1528-
The archive filename needs to specified with a full pathname. The archiving
1528+
The archive filename needs to be specified with a full pathname. The archiving
15291529
step is non-destructive (the original files are left unchanged).
15301530

15311531
::
@@ -1696,9 +1696,9 @@ To establish an HTTPS connection through a proxy server, there is a new
16961696
:meth:`~http.client.HTTPConnection.set_tunnel` method that sets the host and
16971697
port for HTTP Connect tunneling.
16981698

1699-
To match the behaviour of :mod:`http.server`, the HTTP client library now also
1699+
To match the behavior of :mod:`http.server`, the HTTP client library now also
17001700
encodes headers with ISO-8859-1 (Latin-1) encoding. It was already doing that
1701-
for incoming headers, so now the behaviour is consistent for both incoming and
1701+
for incoming headers, so now the behavior is consistent for both incoming and
17021702
outgoing traffic. (See work by Armin Ronacher in :issue:`10980`.)
17031703

17041704
unittest
@@ -1752,8 +1752,8 @@ names.
17521752
diagnostics when a test fails. When possible, the failure is recorded along
17531753
with a diff of the output. This is especially helpful for analyzing log files
17541754
of failed test runs. However, since diffs can sometime be voluminous, there is
1755-
a new :attr:`~unittest.TestCase.maxDiff` attribute which sets maximum length of
1756-
diffs.
1755+
a new :attr:`~unittest.TestCase.maxDiff` attribute that sets maximum length of
1756+
diffs displayed.
17571757

17581758
* In addition, the method names in the module have undergone a number of clean-ups.
17591759

@@ -2002,7 +2002,7 @@ sysconfig
20022002
---------
20032003

20042004
The new :mod:`sysconfig` module makes it straightforward to discover
2005-
installation paths and configuration variables which vary across platforms and
2005+
installation paths and configuration variables that vary across platforms and
20062006
installations.
20072007

20082008
The module offers access simple access functions for platform and version

0 commit comments

Comments
 (0)