diff options
author | Ned Deily <nad@acm.org> | 2013-11-23 11:33:00 (GMT) |
---|---|---|
committer | Ned Deily <nad@acm.org> | 2013-11-23 11:33:00 (GMT) |
commit | 0fb6072fad411eba171b53037bcc04d07c7b0770 (patch) | |
tree | 52a8159d79add58058881fa8fe556a269aa56980 /Lib | |
parent | aa6a212a4eecd7062056707b4e7adf3690693a91 (diff) | |
parent | dec43382c167d2f78e7a86ce96d7e6d40830f660 (diff) | |
download | cpython-0fb6072fad411eba171b53037bcc04d07c7b0770.zip cpython-0fb6072fad411eba171b53037bcc04d07c7b0770.tar.gz cpython-0fb6072fad411eba171b53037bcc04d07c7b0770.tar.bz2 |
merge
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/asyncio/transports.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/asyncio/transports.py b/Lib/asyncio/transports.py index 8c6b189..3774812 100644 --- a/Lib/asyncio/transports.py +++ b/Lib/asyncio/transports.py @@ -16,7 +16,7 @@ class BaseTransport: return self._extra.get(name, default) def close(self): - """Closes the transport. + """Close the transport. Buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the @@ -92,7 +92,7 @@ class WriteTransport(BaseTransport): self.write(data) def write_eof(self): - """Closes the write end after flushing buffered data. + """Close the write end after flushing buffered data. (This is like typing ^D into a UNIX program reading from stdin.) @@ -101,11 +101,11 @@ class WriteTransport(BaseTransport): raise NotImplementedError def can_write_eof(self): - """Return True if this protocol supports write_eof(), False if not.""" + """Return True if this transport supports write_eof(), False if not.""" raise NotImplementedError def abort(self): - """Closes the transport immediately. + """Closs the transport immediately. Buffered data will be lost. No more data will be received. The protocol's connection_lost() method will (eventually) be @@ -150,7 +150,7 @@ class DatagramTransport(BaseTransport): raise NotImplementedError def abort(self): - """Closes the transport immediately. + """Close the transport immediately. Buffered data will be lost. No more data will be received. The protocol's connection_lost() method will (eventually) be |