Commit 5a693c38 authored by Ned Deily's avatar Ned Deily

merge

parents bcb52c0d 617ec044
...@@ -16,7 +16,7 @@ class BaseTransport: ...@@ -16,7 +16,7 @@ class BaseTransport:
return self._extra.get(name, default) return self._extra.get(name, default)
def close(self): def close(self):
"""Closes the transport. """Close the transport.
Buffered data will be flushed asynchronously. No more data Buffered data will be flushed asynchronously. No more data
will be received. After all buffered data is flushed, the will be received. After all buffered data is flushed, the
...@@ -92,7 +92,7 @@ class WriteTransport(BaseTransport): ...@@ -92,7 +92,7 @@ class WriteTransport(BaseTransport):
self.write(data) self.write(data)
def write_eof(self): 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.) (This is like typing ^D into a UNIX program reading from stdin.)
...@@ -101,11 +101,11 @@ class WriteTransport(BaseTransport): ...@@ -101,11 +101,11 @@ class WriteTransport(BaseTransport):
raise NotImplementedError raise NotImplementedError
def can_write_eof(self): 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 raise NotImplementedError
def abort(self): def abort(self):
"""Closes the transport immediately. """Closs the transport immediately.
Buffered data will be lost. No more data will be received. Buffered data will be lost. No more data will be received.
The protocol's connection_lost() method will (eventually) be The protocol's connection_lost() method will (eventually) be
...@@ -150,7 +150,7 @@ class DatagramTransport(BaseTransport): ...@@ -150,7 +150,7 @@ class DatagramTransport(BaseTransport):
raise NotImplementedError raise NotImplementedError
def abort(self): def abort(self):
"""Closes the transport immediately. """Close the transport immediately.
Buffered data will be lost. No more data will be received. Buffered data will be lost. No more data will be received.
The protocol's connection_lost() method will (eventually) be The protocol's connection_lost() method will (eventually) be
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment