Skip to content

Commit a53392a

Browse files
Remove trailing spaces. (#232)
Changes made automatically by the following command: ``` egrep -l ' +$' *.txt | xargs sed -i -re 's/ +$//' ```
1 parent 257e909 commit a53392a

File tree

122 files changed

+988
-988
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+988
-988
lines changed

pep-0005.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Steps For Introducing Backwards-Incompatible Features
7777
deprecated construct to the alternative one.
7878

7979
..
80-
Local Variables:
81-
mode: indented-text
82-
indent-tabs-mode: nil
80+
Local Variables:
81+
mode: indented-text
82+
indent-tabs-mode: nil
8383
End:

pep-0012.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ per indent level.
267267
Literal Blocks
268268
--------------
269269

270-
..
270+
..
271271
In the text below, double backquotes are used to denote inline
272272
literals. "``::``" is written so that the colons will appear in a
273273
monospaced font; the backquotes (``) are markup, not part of the

pep-0100.txt

+9-9
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Unicode Ordinals
195195
objects)
196196
--> Unicode ordinal number (32-bit)
197197

198-
unichr(i)
198+
unichr(i)
199199
--> Unicode object for character i (provided it is 32-bit);
200200
ValueError otherwise
201201

@@ -277,7 +277,7 @@ Codecs (Coder/Decoders) Lookup
277277
following arguments:
278278

279279
encoder and decoder:
280-
280+
281281
These must be functions or methods which have the same
282282
interface as the .encode/.decode methods of Codec instances
283283
(see Codec Interface). The functions/methods are expected to
@@ -413,7 +413,7 @@ Codecs Interface Definition
413413
Use StreamCodec for codecs which have to keep state in
414414
order to make encoding/decoding efficient.
415415

416-
"""
416+
"""
417417

418418
StreamWriter and StreamReader define the interface for stateful
419419
encoders/decoders which work on streams. These allow processing
@@ -626,7 +626,7 @@ Case Conversion
626626
Case conversion is rather complicated with Unicode data, since
627627
there are many different conditions to respect. See
628628

629-
http://www.unicode.org/unicode/reports/tr13/
629+
http://www.unicode.org/unicode/reports/tr13/
630630

631631
for some guidelines on implementing case conversion.
632632

@@ -725,11 +725,11 @@ Internal Format
725725
additional constants for convenience and reference (codecs.BOM
726726
will either be BOM_BE or BOM_LE depending on the platform):
727727

728-
BOM_BE: '\376\377'
728+
BOM_BE: '\376\377'
729729
(corresponds to Unicode U+0000FEFF in UTF-16 on big endian
730730
platforms == ZERO WIDTH NO-BREAK SPACE)
731731

732-
BOM_LE: '\377\376'
732+
BOM_LE: '\377\376'
733733
(corresponds to Unicode U+0000FFFE in UTF-16 on little endian
734734
platforms == defined as being an illegal Unicode character)
735735

@@ -841,7 +841,7 @@ Internal Argument Parsing
841841

842842
"t#": Same as "s#".
843843

844-
"es":
844+
"es":
845845
Takes two parameters: encoding (const char *) and buffer
846846
(char **).
847847

@@ -902,7 +902,7 @@ Internal Argument Parsing
902902
return str;
903903
}
904904

905-
Using "es" with auto-allocation returning a NULL-terminated string:
905+
Using "es" with auto-allocation returning a NULL-terminated string:
906906

907907
static PyObject *
908908
test_parser(PyObject *self,
@@ -978,7 +978,7 @@ Unicode Methods & Attributes
978978

979979
All Python string methods, plus:
980980

981-
.encode([encoding=<default encoding>][,errors="strict"])
981+
.encode([encoding=<default encoding>][,errors="strict"])
982982
--> see Unicode Output
983983

984984
.splitlines([include_breaks=0])

pep-0101.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ How to Make A Release
180180

181181
___ Commit your changes to pydoc_topics.py
182182
(and any fixes you made in the docs).
183-
183+
184184
___ Consider running autoconf using the currently accepted standard version
185185
in case ``configure`` or other autoconf-generated files were last
186186
committed with a newer or older version and may contain spurious or
@@ -464,7 +464,7 @@ How to Make A Release
464464

465465
You should always purge the cache of the directory listing as people
466466
use that to browse the release files:
467-
467+
468468
$ curl -X PURGE https://www.python.org/ftp/python/2.7.5/
469469

470470
___ For the extra paranoid, do a completely clean test of the release.
@@ -561,17 +561,17 @@ How to Make A Release
561561
are removed, too.)
562562

563563
___ If this is a final release...
564-
564+
565565
___ Add the new version to `https://www.python.org/doc/versions/` and
566566
remove the current version from any 'in development' section.
567567

568568
___ For X.Y.Z, edit all the previous X.Y releases' page(s) to
569569
point to the new release. This includes the content field of the
570570
`Downloads -> Releases` entry for the release::
571-
571+
572572
Note: Python x.y.m has been superseded by
573573
`Python x.y.n </downloads/release/python-xyn/>`_.
574-
574+
575575
And, for those releases having separate release page entries
576576
(phasing these out?), update those pages as well,
577577
e.g. `download/releases/x.y.z::

pep-0102.txt

+13-13
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ PEP: 102
22
Title: Doing Python Micro Releases
33
Version: $Revision$
44
Last-Modified: $Date$
5-
Author: [email protected] (Anthony Baxter),
6-
[email protected] (Barry Warsaw),
5+
Author: [email protected] (Anthony Baxter),
6+
[email protected] (Barry Warsaw),
77
[email protected] (Guido van Rossum)
88
Status: Superseded
99
Type: Informational
@@ -34,7 +34,7 @@ Abstract
3434
is just PEP 101, trimmed down to only include the bits that are
3535
relevant for micro releases, a.k.a. patch, or bug fix releases.
3636

37-
It is organized as a recipe and you can actually print this out and
37+
It is organized as a recipe and you can actually print this out and
3838
check items off as you complete them.
3939

4040

@@ -61,11 +61,11 @@ How to Make A Release
6161
maintenance branch of the major release, e.g. Python 2.1.2 is made
6262
from the release21-maint branch.
6363

64-
___ Send an email to [email protected] indicating the release is
64+
___ Send an email to [email protected] indicating the release is
6565
about to start.
6666

67-
___ Put a freeze on check ins into the maintenance branch. At this
68-
point, nobody except the RM should make any commits to the branch
67+
___ Put a freeze on check ins into the maintenance branch. At this
68+
point, nobody except the RM should make any commits to the branch
6969
(or his duly assigned agents, i.e. Guido the BDFL, Fred Drake for
7070
documentation, or Thomas Heller for Windows). If the RM screwed up
7171
and some desperate last minute change to the branch is
@@ -189,8 +189,8 @@ How to Make A Release
189189
merging Windows-specific changes from trunk to branch, and from
190190
branch to trunk.
191191

192-
___ Sean performs his Red Hat magic, generating a set of RPMs. He
193-
uploads these files to python.org. He then sends the RM a notice
192+
___ Sean performs his Red Hat magic, generating a set of RPMs. He
193+
uploads these files to python.org. He then sends the RM a notice
194194
which includes the location and MD5 checksum of the RPMs.
195195

196196
___ It's Build Time!
@@ -231,7 +231,7 @@ How to Make A Release
231231
% tar -cf - Python-2.1.2 | gzip -9 > Python-2.1.2.tgz
232232
% tar -cf - Python-2.1.2 | bzip2 -9 > Python-2.1.2.tar.bz2
233233

234-
___ Calculate the MD5 checksum of the tgz and tar.bz2 files you
234+
___ Calculate the MD5 checksum of the tgz and tar.bz2 files you
235235
just created
236236
% md5sum Python-2.1.2.tgz
237237

@@ -434,17 +434,17 @@ Final Release Notes
434434
lose patience <wink>.
435435

436436
The python.org site also needs some tweaking when a new bugfix release
437-
is issued.
437+
is issued.
438438

439439
___ The documentation should be installed at doc/<version>/.
440440

441-
___ Add a link from doc/<previous-minor-release>/index.ht to the
441+
___ Add a link from doc/<previous-minor-release>/index.ht to the
442442
documentation for the new version.
443443

444-
___ All older doc/<old-release>/index.ht files should be updated to
444+
___ All older doc/<old-release>/index.ht files should be updated to
445445
point to the documentation for the new version.
446446

447-
___ /robots.txt should be modified to prevent the old version's
447+
___ /robots.txt should be modified to prevent the old version's
448448
documentation from being crawled by search engines.
449449

450450

pep-0200.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Release Schedule
2727
[revised 5 Oct 2000]
2828

2929

30-
* 26-Sep-2000: 2.0 beta 2
30+
* 26-Sep-2000: 2.0 beta 2
3131
* 9-Oct-2000: 2.0 release candidate 1 (2.0c1)
3232
* 16-Oct-2000: 2.0 final
3333

@@ -366,7 +366,7 @@ Postponed
366366

367367
- http://www.python.org/pipermail/python-dev/2000-April/subject.html
368368
Subject: "Why do we need Traceback Objects?"
369-
369+
370370
- http://www.python.org/pipermail/python-dev/1999-August/002252.html
371371

372372
* test harness for C code - Trent Mick

pep-0201.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ in function::
5454
>>> a = (1, 2, 3)
5555
>>> b = (4, 5, 6)
5656
>>> for i in map(None, a, b): print i
57-
...
57+
...
5858
(1, 4)
5959
(2, 5)
6060
(3, 6)
@@ -83,7 +83,7 @@ For these reasons, several proposals were floated in the Python 2.0
8383
beta time frame for syntactic support of lockstep for-loops. Here are
8484
two suggestions::
8585

86-
for x in seq1, y in seq2:
86+
for x in seq1, y in seq2:
8787
# stuff
8888

8989
::

pep-0202.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The Proposed Solution
2424
It is proposed to allow conditional construction of list literals using for and
2525
if clauses. They would nest in the same way for loops and if statements nest
2626
now.
27-
27+
2828

2929
Rationale
3030
=========

0 commit comments

Comments
 (0)