Kaydet (Commit) 091b84f2 authored tarafından Mariatta's avatar Mariatta Kaydeden (comit) GitHub

Asyncio documentation: remove `self` from method signatures (GH-334)

üst f669ffff
...@@ -36,7 +36,7 @@ BaseTransport ...@@ -36,7 +36,7 @@ BaseTransport
Base class for transports. Base class for transports.
.. method:: close(self) .. method:: close()
Close the transport. If the transport has a buffer for outgoing Close the transport. If the transport has a buffer for outgoing
data, buffered data will be flushed asynchronously. No more data data, buffered data will be flushed asynchronously. No more data
...@@ -44,7 +44,7 @@ BaseTransport ...@@ -44,7 +44,7 @@ BaseTransport
protocol's :meth:`connection_lost` method will be called with protocol's :meth:`connection_lost` method will be called with
:const:`None` as its argument. :const:`None` as its argument.
.. method:: is_closing(self) .. method:: is_closing()
Return ``True`` if the transport is closing or is closed. Return ``True`` if the transport is closing or is closed.
...@@ -251,7 +251,7 @@ BaseSubprocessTransport ...@@ -251,7 +251,7 @@ BaseSubprocessTransport
if it hasn't returned, similarly to the if it hasn't returned, similarly to the
:attr:`subprocess.Popen.returncode` attribute. :attr:`subprocess.Popen.returncode` attribute.
.. method:: kill(self) .. method:: kill()
Kill the subprocess, as in :meth:`subprocess.Popen.kill`. Kill the subprocess, as in :meth:`subprocess.Popen.kill`.
......
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