Skip to content

Commit 45ec328

Browse files
Removed trailing whitespaces in miscalenous files.
1 parent 50ef0f4 commit 45ec328

File tree

6 files changed

+23
-23
lines changed

6 files changed

+23
-23
lines changed

Include/methodobject.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct PyMethodDef {
4747
typedef struct PyMethodDef PyMethodDef;
4848

4949
#define PyCFunction_New(ML, SELF) PyCFunction_NewEx((ML), (SELF), NULL)
50-
PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
50+
PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
5151
PyObject *);
5252

5353
/* Flag passed to newmethodobject */
@@ -66,7 +66,7 @@ PyAPI_FUNC(PyObject *) PyCFunction_NewEx(PyMethodDef *, PyObject *,
6666

6767
/* METH_COEXIST allows a method to be entered even though a slot has
6868
already filled the entry. When defined, the flag allows a separate
69-
method, "__contains__" for example, to coexist with a defined
69+
method, "__contains__" for example, to coexist with a defined
7070
slot like sq_contains. */
7171

7272
#define METH_COEXIST 0x0040

Mac/Makefile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# This file can be invoked from the various frameworkinstall... targets in the
2-
# main Makefile. The next couple of variables are overridden on the
1+
# This file can be invoked from the various frameworkinstall... targets in the
2+
# main Makefile. The next couple of variables are overridden on the
33
# commandline in that case.
44

55
VERSION=@VERSION@
@@ -53,7 +53,7 @@ compileall=$(srcdir)/../Lib/compileall.py
5353
installapps: install_Python install_PythonLauncher install_IDLE
5454

5555
#
56-
# Install unix tools in /usr/local/bin. These are just aliases for the
56+
# Install unix tools in /usr/local/bin. These are just aliases for the
5757
# actual installation inside the framework.
5858
#
5959
installunixtools:

Modules/ld_so_aix.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# TYPE: executable, uses makexp_aix
66
# SYSTEM: AIX
77
#
8-
# DESCRIPTION: Creates a shareable .o from a set of pre-compiled
8+
# DESCRIPTION: Creates a shareable .o from a set of pre-compiled
99
# (unshared) .o files
1010
#
1111
# USAGE: ld_so_aix [CC] [arguments]
@@ -46,7 +46,7 @@
4646
# 4. Uncommenting the "echo" lines gives detailed output
4747
# about the commands executed in the script.
4848
#
49-
#
49+
#
5050
# HISTORY: Oct-1996 -- Support added for multiple .o files --
5151
# -- and optional arguments processing. --
5252
# Chris Myers ([email protected]), Keith Kwok
@@ -132,7 +132,7 @@ do
132132
done
133133

134134
if test "$objfile" = "libpython@VERSION@@[email protected]"; then
135-
ldsocoremode="true"
135+
ldsocoremode="true"
136136
fi
137137

138138
if test -z "$objs"; then

Parser/Python.asdl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ module Python
99
-- not really an actual node but useful in Jython's typesystem.
1010
| Suite(stmt* body)
1111

12-
stmt = FunctionDef(identifier name, arguments args,
12+
stmt = FunctionDef(identifier name, arguments args,
1313
stmt* body, expr* decorator_list, expr? returns)
14-
| ClassDef(identifier name,
14+
| ClassDef(identifier name,
1515
expr* bases,
1616
keyword* keywords,
1717
expr? starargs,
@@ -77,21 +77,21 @@ module Python
7777
| Subscript(expr value, slice slice, expr_context ctx)
7878
| Starred(expr value, expr_context ctx)
7979
| Name(identifier id, expr_context ctx)
80-
| List(expr* elts, expr_context ctx)
80+
| List(expr* elts, expr_context ctx)
8181
| Tuple(expr* elts, expr_context ctx)
8282

8383
-- col_offset is the byte offset in the utf8 string the parser uses
8484
attributes (int lineno, int col_offset)
8585

8686
expr_context = Load | Store | Del | AugLoad | AugStore | Param
8787

88-
slice = Slice(expr? lower, expr? upper, expr? step)
89-
| ExtSlice(slice* dims)
90-
| Index(expr value)
88+
slice = Slice(expr? lower, expr? upper, expr? step)
89+
| ExtSlice(slice* dims)
90+
| Index(expr value)
9191

92-
boolop = And | Or
92+
boolop = And | Or
9393

94-
operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift
94+
operator = Add | Sub | Mult | MatMult | Div | Mod | Pow | LShift
9595
| RShift | BitOr | BitXor | BitAnd | FloorDiv
9696

9797
unaryop = Invert | Not | UAdd | USub

Tools/freeze/extensions_win32.ini

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
; This is all setup for all the win32 extension modules
88
; released by Mark Hammond.
9-
; You must ensure that the environment variable PYTHONEX is set
9+
; You must ensure that the environment variable PYTHONEX is set
1010
; to point to the root win32 extensions directory
1111

1212
; PYTHONPREFIX must point to the Python build root directory
@@ -49,7 +49,7 @@ dsp=%PYTHONPREFIX%\PCBuild\select.dsp
4949

5050
[zlib]
5151
dsp=%PYTHONPREFIX%\PCBuild\zlib.dsp
52-
cl=/I %PYTHONPREFIX%\..\zlib-1.1.4 /D _WINDOWS /D WIN32
52+
cl=/I %PYTHONPREFIX%\..\zlib-1.1.4 /D _WINDOWS /D WIN32
5353
libs=%PYTHONPREFIX%\..\zlib-1.1.4\zlib.lib /nodefaultlib:libc
5454

5555
[winreg]
@@ -95,7 +95,7 @@ dsp=%PYTHONEX%\win32\win32event.dsp
9595
cl=/I %PYTHONEX%\win32\src
9696

9797
[win32file]
98-
dsp=%PYTHONEX%\win32\win32file.dsp
98+
dsp=%PYTHONEX%\win32\win32file.dsp
9999
cl=/I %PYTHONEX%\win32\src
100100

101101
[win32net]
@@ -108,7 +108,7 @@ dsp=%PYTHONEX%\win32\win32pdh.dsp
108108
cl=/I %PYTHONEX%\win32\src
109109

110110
[win32pipe]
111-
dsp=%PYTHONEX%\win32\win32pipe.dsp
111+
dsp=%PYTHONEX%\win32\win32pipe.dsp
112112
cl=/I %PYTHONEX%\win32\src
113113

114114
[win32security]

Tools/scripts/dutree.doc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ sometimes it's not worth it. I actually wrote a C program the other day
3434
: | 1 sm.bak
3535

3636
At first I thought I could just keep one local list around
37-
at once, but this seems inherently recursive. Which means
37+
at once, but this seems inherently recursive. Which means
3838
I need an real recursive data structure. Maybe you could
3939
do it with one of the %assoc arrays Larry uses in the begat
4040
programs, but I broke down and got dirty. I think the hardest
41-
part was matching Felix's desired output exactly. It's not
41+
part was matching Felix's desired output exactly. It's not
4242
blazingly fast: I should probably inline the &childof routine,
43-
but it *was* faster to write than I could have written the
43+
but it *was* faster to write than I could have written the
4444
equivalent C program.
4545

4646

0 commit comments

Comments
 (0)