Skip to content

Commit 23dfc29

Browse files
Removed unintentional trailing spaces in text files.
1 parent 4e49aee commit 23dfc29

File tree

15 files changed

+66
-66
lines changed

15 files changed

+66
-66
lines changed

Grammar/Grammar

+1-1
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

+5-5
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

+4-4
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

+1-1
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

+1-1
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

+8-8
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

+7-7
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

+1-1
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

+2-2
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

+1-1
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

PC/example_nt/readme.txt

+10-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Example Python extension for Windows NT
33

44
This directory contains everything needed (except for the Python
55
distribution!) to build a Python extension module using Microsoft VC++.
6-
Notice that you need to use the same compiler version that was used to build
6+
Notice that you need to use the same compiler version that was used to build
77
Python itself.
88

99
The simplest way to build this example is to use the distutils script
@@ -16,7 +16,7 @@ after everything builds and installs, you can test it:
1616
% python -c "import example; example.foo()"
1717
Hello, world
1818

19-
See setup.py for more details. alternatively, see below for instructions on
19+
See setup.py for more details. alternatively, see below for instructions on
2020
how to build inside the Visual Studio environment.
2121

2222
Visual Studio Build Instructions
@@ -27,8 +27,8 @@ instructions and project files have not been updated to the latest VC
2727
version. In general, it is recommended you use the 'setup.py' instructions
2828
above.
2929

30-
It has been tested with VC++ 7.1 on Python 2.4. You can also use earlier
31-
versions of VC to build Python extensions, but the sample VC project file
30+
It has been tested with VC++ 7.1 on Python 2.4. You can also use earlier
31+
versions of VC to build Python extensions, but the sample VC project file
3232
(example.dsw in this directory) is in VC 7.1 format.
3333

3434
COPY THIS DIRECTORY!
@@ -129,7 +129,7 @@ created a new project yourself, add the file spam.def to the project now.
129129
(This is an annoying little file with only two lines. An alternative
130130
approach is to forget about the .def file, and add the option
131131
"/export:initspam" somewhere to the Link settings, by manually editing the
132-
"Project -> Properties -> Linker -> Command Line -> Additional Options"
132+
"Project -> Properties -> Linker -> Command Line -> Additional Options"
133133
box).
134134

135135
You are now all set to build your extension, unless it requires other
@@ -142,13 +142,13 @@ CREATING A BRAND NEW PROJECT
142142
Use the
143143
File -> New -> Project...
144144
dialog to create a new Project Workspace. Select "Visual C++ Projects/Win32/
145-
Win32 Project", enter the name ("spam"), and make sure the "Location" is
146-
set to parent of the spam directory you have created (which should be a direct
147-
subdirectory of the Python build tree, a sibling of Include and PC).
145+
Win32 Project", enter the name ("spam"), and make sure the "Location" is
146+
set to parent of the spam directory you have created (which should be a direct
147+
subdirectory of the Python build tree, a sibling of Include and PC).
148148
In "Application Settings", select "DLL", and "Empty Project". Click OK.
149149

150150
You should now create the file spam.def as instructed in the previous
151-
section. Add the source files (including the .def file) to the project,
151+
section. Add the source files (including the .def file) to the project,
152152
using "Project", "Add Existing Item".
153153

154154
Now open the
@@ -174,7 +174,7 @@ list in the "Additional Dependencies" box.
174174

175175
Select "Debug" in the "Settings for:" dropdown list, and append
176176
"python24_d.lib" to the list in the Additional Dependencies" box. Then
177-
click on the C/C++ tab, select "Code Generation", and select
177+
click on the C/C++ tab, select "Code Generation", and select
178178
"Multi-threaded Debug DLL" from the "Runtime library" dropdown list.
179179

180180
Select "Release" again from the "Settings for:" dropdown list.

Tools/freeze/README

+9-9
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ to place the Tcl and Tk library files in the distributed setup, and
100100
then declare these directories in your frozen Python program using
101101
the TCL_LIBRARY, TK_LIBRARY and TIX_LIBRARY environment variables.
102102

103-
For example, assume you will ship your frozen program in the directory
104-
<root>/bin/windows-x86 and will place your Tcl library files
103+
For example, assume you will ship your frozen program in the directory
104+
<root>/bin/windows-x86 and will place your Tcl library files
105105
in <root>/lib/tcl8.2 and your Tk library files in <root>/lib/tk8.2. Then
106106
placing the following lines in your frozen Python script before importing
107107
Tkinter or Tix would set the environment correctly for Tcl/Tk/Tix:
@@ -138,8 +138,8 @@ variable PATH is consulted, and under Unix, it may be the
138138
environment variable LD_LIBRARY_PATH and/or the system
139139
shared library cache (ld.so). An additional preferred directory for
140140
finding the dynamic libraries is built into the .dll or .so files at
141-
compile time - see the LIB_RUNTIME_DIR variable in the Tcl makefile.
142-
The OS must find the dynamic libraries or your frozen program won't start.
141+
compile time - see the LIB_RUNTIME_DIR variable in the Tcl makefile.
142+
The OS must find the dynamic libraries or your frozen program won't start.
143143
Usually I make sure that the .so or .dll files are in the same directory
144144
as the executable, but this may not be foolproof.
145145

@@ -149,8 +149,8 @@ incorporated in a frozen Python module as string literals and written
149149
to a temporary location when the program runs; this is currently left
150150
as an exercise for the reader. An easier approach is to freeze the
151151
Tcl/Tk/Tix code into the dynamic libraries using the Tcl ET code,
152-
or the Tix Stand-Alone-Module code. Of course, you can also simply
153-
require that Tcl/Tk is required on the target installation, but be
152+
or the Tix Stand-Alone-Module code. Of course, you can also simply
153+
require that Tcl/Tk is required on the target installation, but be
154154
careful that the version corresponds.
155155

156156
There are some caveats using frozen Tkinter applications:
@@ -164,7 +164,7 @@ program was frozen, not where it is run from.
164164
A warning about shared library modules
165165
--------------------------------------
166166

167-
When your Python installation uses shared library modules such as
167+
When your Python installation uses shared library modules such as
168168
_tkinter.pyd, these will not be incorporated in the frozen program.
169169
Again, the frozen program will work when you test it, but it won't
170170
work when you ship it to a site without a Python installation.
@@ -275,9 +275,9 @@ Options:
275275
are read and the -i option replaced with the parsed
276276
params (note - quoting args in this file is NOT supported)
277277

278-
-s subsystem: Specify the subsystem (For Windows only.);
278+
-s subsystem: Specify the subsystem (For Windows only.);
279279
'console' (default), 'windows', 'service' or 'com_dll'
280-
280+
281281
-w: Toggle Windows (NT or 95) behavior.
282282
(For debugging only -- on a win32 platform, win32 behavior
283283
is automatic.)

0 commit comments

Comments
 (0)