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

Skip to content

Commit 85ba673

Browse files
committed
Whitespace normalization.
1 parent 8de0c17 commit 85ba673

6 files changed

Lines changed: 11 additions & 12 deletions

File tree

Lib/__future__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,18 @@
2424
2525
was accepted.
2626
27-
In the case of MandatoryReleases that have not yet occurred,
28-
MandatoryRelease predicts the release in which the feature will become part
27+
In the case of MandatoryReleases that have not yet occurred,
28+
MandatoryRelease predicts the release in which the feature will become part
2929
of the language.
3030
31-
Else MandatoryRelease records when the feature became part of the language;
31+
Else MandatoryRelease records when the feature became part of the language;
3232
in releases at or after that, modules no longer need
3333
3434
from __future__ import FeatureName
3535
3636
to use the feature in question, but may continue to use such imports.
3737
38-
MandatoryRelease may also be None, meaning that a planned feature got
38+
MandatoryRelease may also be None, meaning that a planned feature got
3939
dropped.
4040
4141
No line is ever to be deleted from this file.

Lib/inspect.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,5 +612,5 @@ def stack(context=1):
612612
return getouterframes(currentframe().f_back, context)
613613

614614
def trace(context=1):
615-
"""Return a list of records for the stack below the current exception."""
615+
"""Return a list of records for the stack below the current exception."""
616616
return getinnerframes(sys.exc_traceback, context)

Lib/pydoc.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def docmodule(self, object):
445445
modpkgs.append((modname, name, 0, 0))
446446
modnames.append(modname)
447447
elif ispackage(path):
448-
modpkgs.append((file, name, 1, 0))
448+
modpkgs.append((file, name, 1, 0))
449449
modpkgs.sort()
450450
contents = self.multicolumn(modpkgs, self.modpkglink)
451451
result = result + self.bigsection(
@@ -576,7 +576,7 @@ def found(name, ispackage,
576576
if ispackage(path): found(file, 1)
577577
for file in files:
578578
path = os.path.join(dir, file)
579-
if file[:1] != '_' and os.path.isfile(path):
579+
if file[:1] != '_' and os.path.isfile(path):
580580
modname = modulename(file)
581581
if modname: found(modname, 0)
582582

Lib/test/test_global.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,3 @@ def wrong3():
3737
global x
3838
"""
3939
compile_and_catch_warning(prog_text_3)
40-

Lib/urllib.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,17 +561,17 @@ def http_error_401(self, url, fp, errcode, errmsg, headers, data=None):
561561
See this URL for a description of the basic authentication scheme:
562562
http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt"""
563563
if not headers.has_key('www-authenticate'):
564-
URLopener.http_error_default(self, url, fp,
564+
URLopener.http_error_default(self, url, fp,
565565
errmsg, headers)
566566
stuff = headers['www-authenticate']
567567
import re
568568
match = re.match('[ \t]*([^ \t]+)[ \t]+realm="([^"]*)"', stuff)
569569
if not match:
570-
URLopener.http_error_default(self, url, fp,
570+
URLopener.http_error_default(self, url, fp,
571571
errcode, errmsg, headers)
572572
scheme, realm = match.groups()
573573
if scheme.lower() != 'basic':
574-
URLopener.http_error_default(self, url, fp,
574+
URLopener.http_error_default(self, url, fp,
575575
errcode, errmsg, headers)
576576
name = 'retry_' + self.type + '_basic_auth'
577577
if data is None:

Lib/webbrowser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def _remote(self, action):
154154

155155
def open(self, url, new=1, autoraise=1):
156156
# XXX Currently I know no way to prevent KFM from
157-
# opening a new win.
157+
# opening a new win.
158158
self._remote("openURL %s" % url)
159159

160160
# Deprecated. May be removed in 2.1.

0 commit comments

Comments
 (0)