Skip to content

Commit bfbfc8d

Browse files
Removed unintentional trailing spaces in text files.
1 parent 1770fde commit bfbfc8d

File tree

15 files changed

+66
-66
lines changed

15 files changed

+66
-66
lines changed

Grammar/Grammar

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ dictorsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) |
117117
classdef: 'class' NAME ['(' [arglist] ')'] ':' suite
118118

119119
arglist: (argument ',')* (argument [',']
120-
|'*' test (',' argument)* [',' '**' test]
120+
|'*' test (',' argument)* [',' '**' test]
121121
|'**' test)
122122
# The reason that keywords are test nodes instead of NAME is that using NAME
123123
# results in an ambiguity. ast.c makes sure it's a NAME.

Lib/idlelib/ChangeLog

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ IDLEfork ChangeLog
2020
2001-07-19 14:49 elguavas
2121

2222
* ChangeLog, EditorWindow.py, INSTALLATION, NEWS.txt, README.txt,
23-
TODO.txt, idlever.py:
23+
TODO.txt, idlever.py:
2424
minor tidy-ups ready for 0.8.1 alpha tarball release
2525

2626
2001-07-17 15:12 kbk
@@ -172,7 +172,7 @@ IDLEfork ChangeLog
172172
all this work w/ a future-stmt just looks harder and harder."
173173
--tim_one
174174

175-
(From Rel 1.8: "Hack to make this still work with Python 1.5.2.
175+
(From Rel 1.8: "Hack to make this still work with Python 1.5.2.
176176
;-( " --fdrake)
177177

178178
2001-07-14 14:51 kbk
@@ -193,7 +193,7 @@ IDLEfork ChangeLog
193193
test() to _test()." --GvR
194194

195195
This was an interesting merge. The join completely missed removing
196-
goodname(), which was adjacent, but outside of, a small conflict.
196+
goodname(), which was adjacent, but outside of, a small conflict.
197197
I only caught it by comparing the 1.1.3.2/1.1.3.3 diff. CVS ain't
198198
infallible.
199199

@@ -516,12 +516,12 @@ IDLEfork ChangeLog
516516

517517
2000-08-15 22:51 nowonder
518518

519-
* IDLEFORK.html:
519+
* IDLEFORK.html:
520520
corrected email address
521521

522522
2000-08-15 22:47 nowonder
523523

524-
* IDLEFORK.html:
524+
* IDLEFORK.html:
525525
added .html file for http://idlefork.sourceforge.net
526526

527527
2000-08-15 11:13 dscherer

Lib/idlelib/HISTORY.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ What's New in IDLEfork 0.8.1?
1111
*Release date: 22-Jul-2001*
1212

1313
- New tarball released as a result of the 'revitalisation' of the IDLEfork
14-
project.
14+
project.
1515

1616
- This release requires python 2.1 or better. Compatibility with earlier
1717
versions of python (especially ancient ones like 1.5x) is no longer a
@@ -26,8 +26,8 @@ What's New in IDLEfork 0.8.1?
2626
not working, but I believe this was the case with the previous IDLE fork
2727
release (0.7.1) as well.
2828

29-
- This release is being made now to mark the point at which IDLEfork is
30-
launching into a new stage of development.
29+
- This release is being made now to mark the point at which IDLEfork is
30+
launching into a new stage of development.
3131

3232
- IDLEfork CVS will now be branched to enable further development and
3333
exploration of the two "execution in a remote process" patches submitted by
@@ -96,7 +96,7 @@ IDLEfork 0.7.1 - 29 May 2000
9696
instead of the IDLE help; shift-TAB is now a synonym for unindent.
9797

9898
- New modules:
99-
99+
100100
ExecBinding.py Executes program through loader
101101
loader.py Bootstraps user program
102102
protocol.py RPC protocol

Lib/idlelib/README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ code objects from a top level viewpoint without dealing with code folding.
1414
There is a Python Shell window which features colorizing and command recall.
1515

1616
IDLE executes Python code in a separate process, which is restarted for each
17-
Run (F5) initiated from an editor window. The environment can also be
17+
Run (F5) initiated from an editor window. The environment can also be
1818
restarted from the Shell window without restarting IDLE.
1919

2020
This enhancement has often been requested, and is now finally available. The

Lib/lib2to3/Grammar.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ dictsetmaker: ( (test ':' test (comp_for | (',' test ':' test)* [','])) |
142142
classdef: 'class' NAME ['(' [arglist] ')'] ':' suite
143143

144144
arglist: (argument ',')* (argument [',']
145-
|'*' test (',' argument)* [',' '**' test]
145+
|'*' test (',' argument)* [',' '**' test]
146146
|'**' test)
147147
argument: test [comp_for] | test '=' test # Really [keyword '='] test
148148

Mac/BuildScript/README.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ Building a Python Mac OS X distribution
22
=======================================
33

44
The ``build-install.py`` script creates Python distributions, including
5-
certain third-party libraries as necessary. It builds a complete
6-
framework-based Python out-of-tree, installs it in a funny place with
7-
$DESTROOT, massages that installation to remove .pyc files and such, creates
8-
an Installer package from the installation plus other files in ``resources``
5+
certain third-party libraries as necessary. It builds a complete
6+
framework-based Python out-of-tree, installs it in a funny place with
7+
$DESTROOT, massages that installation to remove .pyc files and such, creates
8+
an Installer package from the installation plus other files in ``resources``
99
and ``scripts`` and placed that on a ``.dmg`` disk image.
1010

1111
For Python 3.4.0, PSF practice is to build two installer variants
@@ -101,7 +101,7 @@ for each release.
101101
/usr/bin/python build-installer.py \
102102
--sdk-path=/Developer/SDKs/MacOSX10.4u.sdk \
103103
--universal-archs=32-bit \
104-
--dep-target=10.3
104+
--dep-target=10.3
105105

106106
- builds the following third-party libraries
107107

@@ -116,7 +116,7 @@ for each release.
116116
- requires ActiveState ``Tcl/Tk 8.4`` (currently 8.4.20) to be installed for building
117117

118118
- recommended build environment:
119-
119+
120120
* Mac OS X 10.5.8 PPC or Intel
121121
* Xcode 3.1.4 (or later)
122122
* ``MacOSX10.4u`` SDK (later SDKs do not support PPC G3 processors)
@@ -174,7 +174,7 @@ Here are the steps you need to follow to build a Python installer:
174174
Building other universal installers
175175
...................................
176176

177-
It is also possible to build a 4-way universal installer that runs on
177+
It is also possible to build a 4-way universal installer that runs on
178178
OS X 10.5 Leopard or later::
179179

180180
/usr/bin/python /build-installer.py \
@@ -208,7 +208,7 @@ a PPC G4 system with OS X 10.5 and at least one Intel system running OS X
208208

209209
/usr/local/bin/pythonn.n -m test -w -u all,-largefile
210210
/usr/local/bin/pythonn.n-32 -m test -w -u all
211-
211+
212212
Certain tests will be skipped and some cause the interpreter to fail
213213
which will likely generate ``Python quit unexpectedly`` alert messages
214214
to be generated at several points during a test run. These are normal

Mac/README

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ OS X specific arguments to configure
1919

2020
If this argument is specified the build will create a Python.framework rather
2121
than a traditional Unix install. See the section
22-
_`Building and using a framework-based Python on Mac OS X` for more
22+
_`Building and using a framework-based Python on Mac OS X` for more
2323
information on frameworks.
2424

2525
If the optional directory argument is specified the framework is installed
@@ -53,7 +53,7 @@ OS X specific arguments to configure
5353

5454
* ``--with-univeral-archs=VALUE``
5555

56-
Specify the kind of universal binary that should be created. This option is
56+
Specify the kind of universal binary that should be created. This option is
5757
only valid when ``--enable-universalsdk`` is specified. The default is
5858
``32-bit`` if a building with a SDK that supports PPC, otherwise defaults
5959
to ``intel``.
@@ -174,14 +174,14 @@ Building and using a framework-based Python on Mac OS X.
174174
--------------------------------------------------------------------------
175175

176176
The main reason is because you want to create GUI programs in Python. With the
177-
exception of X11/XDarwin-based GUI toolkits all GUI programs need to be run
177+
exception of X11/XDarwin-based GUI toolkits all GUI programs need to be run
178178
from a Mac OS X application bundle (".app").
179179

180180
While it is technically possible to create a .app without using frameworks you
181181
will have to do the work yourself if you really want this.
182182

183183
A second reason for using frameworks is that they put Python-related items in
184-
only two places: "/Library/Framework/Python.framework" and
184+
only two places: "/Library/Framework/Python.framework" and
185185
"/Applications/Python <VERSION>" where ``<VERSION>`` can be e.g. "3.4",
186186
"2.7", etc. This simplifies matters for users installing
187187
Python from a binary distribution if they want to get rid of it again. Moreover,
@@ -228,11 +228,11 @@ in the sequence
228228
1. ./configure --enable-framework
229229

230230
2. make
231-
231+
232232
3. make install
233233

234234
This sequence will put the framework in ``/Library/Framework/Python.framework``,
235-
the applications in ``/Applications/Python <VERSION>`` and the unix tools in
235+
the applications in ``/Applications/Python <VERSION>`` and the unix tools in
236236
``/usr/local/bin``.
237237

238238
Installing in another place, for instance ``$HOME/Library/Frameworks`` if you
@@ -300,7 +300,7 @@ All of this is normally done completely isolated in /tmp/_py, so it does not
300300
use your normal build directory nor does it install into /.
301301

302302
Because of the way the script locates the files it needs you have to run it
303-
from within the BuildScript directory. The script accepts a number of
303+
from within the BuildScript directory. The script accepts a number of
304304
command-line arguments, run it with --help for more information.
305305

306306
Configure warnings

Misc/Porting

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ And you'll need a config.c file, which lists the built-in modules you
2727
support. Start with Modules/config.c.in.
2828

2929
Finally, you'll run into some things that aren't supported on your
30-
target platform. Forget about the posix module for now -- simply take
30+
target platform. Forget about the posix module for now -- simply take
3131
it out of the config.c file.
3232

3333
Bang on it until you get a >>> prompt. (You may have to disable the

Misc/gdbinit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ end
150150

151151
# generally useful macro to print a Unicode string
152152
def pu
153-
set $uni = $arg0
153+
set $uni = $arg0
154154
set $i = 0
155155
while (*$uni && $i++<100)
156-
if (*$uni < 0x80)
156+
if (*$uni < 0x80)
157157
print *(char*)$uni++
158158
else
159159
print /x *(short*)$uni++

Modules/makesetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
266266
*) sed -e "
267267
1i$NL/* Generated automatically from $config by makesetup. */
268268
/MARKER 1/i$NL$EXTDECLS
269-
269+
270270
/MARKER 2/i$NL$INITBITS
271271
272272
" $config >config.c

0 commit comments

Comments
 (0)