mirror of
https://github.com/python/cpython.git
synced 2025-09-23 08:53:45 +00:00
Just changed "x,y" to "x, y" everywhere (i.e., inserted horizontal space
after commas that didn't have any).
This commit is contained in:
parent
acfdf156aa
commit
30324a7363
1 changed files with 34 additions and 37 deletions
|
@ -157,7 +157,6 @@ class StreamWriter(Codec):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def __getattr__(self, name,
|
def __getattr__(self, name,
|
||||||
|
|
||||||
getattr=getattr):
|
getattr=getattr):
|
||||||
|
|
||||||
""" Inherit all other methods from the underlying stream.
|
""" Inherit all other methods from the underlying stream.
|
||||||
|
@ -283,7 +282,6 @@ class StreamReader(Codec):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def __getattr__(self, name,
|
def __getattr__(self, name,
|
||||||
|
|
||||||
getattr=getattr):
|
getattr=getattr):
|
||||||
|
|
||||||
""" Inherit all other methods from the underlying stream.
|
""" Inherit all other methods from the underlying stream.
|
||||||
|
@ -349,7 +347,6 @@ class StreamReaderWriter:
|
||||||
self.writer.reset()
|
self.writer.reset()
|
||||||
|
|
||||||
def __getattr__(self, name,
|
def __getattr__(self, name,
|
||||||
|
|
||||||
getattr=getattr):
|
getattr=getattr):
|
||||||
|
|
||||||
""" Inherit all other methods from the underlying stream.
|
""" Inherit all other methods from the underlying stream.
|
||||||
|
@ -379,7 +376,8 @@ class StreamRecoder:
|
||||||
data_encoding = 'unknown'
|
data_encoding = 'unknown'
|
||||||
file_encoding = 'unknown'
|
file_encoding = 'unknown'
|
||||||
|
|
||||||
def __init__(self,stream,encode,decode,Reader,Writer,errors='strict'):
|
def __init__(self, stream, encode, decode, Reader, Writer,
|
||||||
|
errors='strict'):
|
||||||
|
|
||||||
""" Creates a StreamRecoder instance which implements a two-way
|
""" Creates a StreamRecoder instance which implements a two-way
|
||||||
conversion: encode and decode work on the frontend (the
|
conversion: encode and decode work on the frontend (the
|
||||||
|
@ -452,7 +450,6 @@ class StreamRecoder:
|
||||||
self.writer.reset()
|
self.writer.reset()
|
||||||
|
|
||||||
def __getattr__(self, name,
|
def __getattr__(self, name,
|
||||||
|
|
||||||
getattr=getattr):
|
getattr=getattr):
|
||||||
|
|
||||||
""" Inherit all other methods from the underlying stream.
|
""" Inherit all other methods from the underlying stream.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue