mirror of
https://github.com/python/cpython.git
synced 2025-12-10 11:00:14 +00:00
Whitespace normalization.
This commit is contained in:
parent
12f21ae07f
commit
3a2ab1ab69
3 changed files with 2 additions and 3 deletions
|
|
@ -574,7 +574,7 @@ def make_encoding_map(decoding_map):
|
||||||
else:
|
else:
|
||||||
m[v] = None
|
m[v] = None
|
||||||
return m
|
return m
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ import os
|
||||||
# ImportError then. But since tty *does* exist across platforms, that
|
# ImportError then. But since tty *does* exist across platforms, that
|
||||||
# leaves a damaged module object for tty in sys.modules, and the import
|
# leaves a damaged module object for tty in sys.modules, and the import
|
||||||
# of tty here then appears to work despite that the tty imported is junk.
|
# of tty here then appears to work despite that the tty imported is junk.
|
||||||
import termios
|
import termios
|
||||||
del termios
|
del termios
|
||||||
|
|
||||||
import tty
|
import tty
|
||||||
|
|
|
||||||
|
|
@ -14,4 +14,3 @@ file_url = "file://%s" % urllib2.__file__
|
||||||
f = urllib2.urlopen(file_url)
|
f = urllib2.urlopen(file_url)
|
||||||
buf = f.read()
|
buf = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue