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

Skip to content

Commit 0e6d213

Browse files
committed
Whitespace normalization.
1 parent b61ff29 commit 0e6d213

4 files changed

Lines changed: 6 additions & 7 deletions

File tree

Lib/random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def create_generators(num, delta, firstseed=None):
8181
"cunifvariate","expovariate","vonmisesvariate","gammavariate",
8282
"stdgamma","gauss","betavariate","paretovariate","weibullvariate",
8383
"getstate","setstate","jumpahead","whseed"]
84-
84+
8585
def _verify(name, expected):
8686
computed = eval(name)
8787
if abs(computed - expected) > 1e-7:

Lib/robotparser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def __init__(self, *args):
201201
self.errcode = 200
202202
self.tries = 0
203203
self.maxtries = 10
204-
204+
205205
def http_error_default(self, url, fp, errcode, errmsg, headers):
206206
self.errcode = errcode
207207
return urllib.FancyURLopener.http_error_default(self, url, fp, errcode,

Lib/test/test_scope.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def f(s):
207207
return f
208208
""")
209209

210-
# XXX could allow this for exec with const argument, but what's the point
210+
# XXX could allow this for exec with const argument, but what's the point
211211
check_syntax("""def error(y):
212212
exec "a = 1"
213213
def f(x):
@@ -225,7 +225,7 @@ def g():
225225
def g():
226226
from string import *
227227
return strip # global or local?
228-
""")
228+
""")
229229

230230
# and verify a few cases that should work
231231

@@ -302,9 +302,9 @@ def makeReturner(*lst):
302302
def returner():
303303
return lst
304304
return returner
305-
305+
306306
verify(makeReturner(1,2,3)() == (1,2,3))
307-
307+
308308
def makeReturner2(**kwargs):
309309
def returner():
310310
return kwargs

Lib/test/test_symtable.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,3 @@
66

77
verify(symbols[0].name == "global")
88
verify(len([ste for ste in symbols.values() if ste.name == "f"]) == 1)
9-

0 commit comments

Comments
 (0)