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

Skip to content

Commit 2a61452

Browse files
Removed spaces before commas and periods.
2 parents ae2ee96 + a4d170d commit 2a61452

20 files changed

Lines changed: 22 additions & 22 deletions

Doc/faq/library.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ and client-side web systems.
662662
.. XXX check if wiki page is still up to date
663663
664664
A summary of available frameworks is maintained by Paul Boddie at
665-
http://wiki.python.org/moin/WebProgramming .
665+
http://wiki.python.org/moin/WebProgramming\ .
666666

667667
Cameron Laird maintains a useful set of pages about Python web technologies at
668668
http://phaseit.net/claird/comp.lang.python/web_python.

Doc/howto/pyporting.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ developing under Python 2 or Python 3. Whether this approach or using
640640

641641
To get a complete idea of what issues you will need to deal with, see the
642642
`What's New in Python 3.0`_. Others have reorganized the data in other formats
643-
such as http://docs.pythonsprints.com/python3_porting/py-porting.html .
643+
such as http://docs.pythonsprints.com/python3_porting/py-porting.html\ .
644644

645645
The following are some steps to take to try to support both Python 2 & 3 from
646646
the same source code.

Doc/howto/urllib2.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ We'll discuss here one particular HTTP header, to illustrate how to add headers
160160
to your HTTP request.
161161

162162
Some websites [#]_ dislike being browsed by programs, or send different versions
163-
to different browsers [#]_ . By default urllib identifies itself as
163+
to different browsers [#]_. By default urllib identifies itself as
164164
``Python-urllib/x.y`` (where ``x`` and ``y`` are the major and minor version
165165
numbers of the Python release,
166166
e.g. ``Python-urllib/2.5``), which may confuse the site, or just plain

Doc/library/ctypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1651,7 +1651,7 @@ the windows header file is this::
16511651

16521652
WINUSERAPI int WINAPI
16531653
MessageBoxA(
1654-
HWND hWnd ,
1654+
HWND hWnd,
16551655
LPCSTR lpText,
16561656
LPCSTR lpCaption,
16571657
UINT uType);

Doc/library/http.cookiejar.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ FileCookieJar subclasses and co-operation with web browsers
309309
-----------------------------------------------------------
310310

311311
The following :class:`CookieJar` subclasses are provided for reading and
312-
writing .
312+
writing.
313313

314314
.. class:: MozillaCookieJar(filename, delayload=None, policy=None)
315315

Doc/library/itertools.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ chain.from_iterable iterable p0, p1, ... plast, q0, q
5656
:func:`islice` seq, [start,] stop [, step] elements from seq[start:stop:step] ``islice('ABCDEFG', 2, None) --> C D E F G``
5757
:func:`starmap` func, seq func(\*seq[0]), func(\*seq[1]), ... ``starmap(pow, [(2,5), (3,2), (10,3)]) --> 32 9 1000``
5858
:func:`takewhile` pred, seq seq[0], seq[1], until pred fails ``takewhile(lambda x: x<5, [1,4,6,4,1]) --> 1 4``
59-
:func:`tee` it, n it1, it2 , ... itn splits one iterator into n
59+
:func:`tee` it, n it1, it2, ... itn splits one iterator into n
6060
:func:`zip_longest` p, q, ... (p[0], q[0]), (p[1], q[1]), ... ``zip_longest('ABCD', 'xy', fillvalue='-') --> Ax By C- D-``
6161
==================== ============================ ================================================= =============================================================
6262

@@ -131,7 +131,7 @@ loops that truncate the stream.
131131
>>> inputs = repeat(x0, 36) # only the initial value is used
132132
>>> [format(x, '.2f') for x in accumulate(inputs, logistic_map)]
133133
['0.40', '0.91', '0.30', '0.81', '0.60', '0.92', '0.29', '0.79', '0.63',
134-
'0.88' ,'0.39', '0.90', '0.33', '0.84', '0.52', '0.95', '0.18', '0.57',
134+
'0.88', '0.39', '0.90', '0.33', '0.84', '0.52', '0.95', '0.18', '0.57',
135135
'0.93', '0.25', '0.71', '0.79', '0.63', '0.88', '0.39', '0.91', '0.32',
136136
'0.83', '0.54', '0.95', '0.20', '0.60', '0.91', '0.30', '0.80', '0.60']
137137

Doc/library/logging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,7 +809,7 @@ LoggerAdapter Objects
809809
---------------------
810810

811811
:class:`LoggerAdapter` instances are used to conveniently pass contextual
812-
information into logging calls. For a usage example , see the section on
812+
information into logging calls. For a usage example, see the section on
813813
:ref:`adding contextual information to your logging output <context-info>`.
814814

815815
.. class:: LoggerAdapter(logger, extra)

Doc/library/ossaudiodev.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ the standard audio interface for Linux and recent versions of FreeBSD.
4949
the official documentation for the OSS C API
5050

5151
The module defines a large number of constants supplied by the OSS device
52-
driver; see ``<sys/soundcard.h>`` on either Linux or FreeBSD for a listing .
52+
driver; see ``<sys/soundcard.h>`` on either Linux or FreeBSD for a listing.
5353

5454
:mod:`ossaudiodev` defines the following variables and functions:
5555

Doc/library/pyexpat.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -861,5 +861,5 @@ The ``errors`` module has the following attributes:
861861
.. [#] The encoding string included in XML output should conform to the
862862
appropriate standards. For example, "UTF-8" is valid, but "UTF8" is
863863
not. See http://www.w3.org/TR/2006/REC-xml11-20060816/#NT-EncodingDecl
864-
and http://www.iana.org/assignments/character-sets .
864+
and http://www.iana.org/assignments/character-sets\ .
865865

Doc/library/re.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ The special characters are:
317317
optional and can be omitted. For example,
318318
``(<)?(\w+@\w+(?:\.\w+)+)(?(1)>|$)`` is a poor email matching pattern, which
319319
will match with ``'<[email protected]>'`` as well as ``'[email protected]'``, but
320-
not with ``'<[email protected]'`` nor ``'[email protected]>'`` .
320+
not with ``'<[email protected]'`` nor ``'[email protected]>'``.
321321

322322

323323
The special sequences consist of ``'\'`` and a character from the list below.

0 commit comments

Comments
 (0)