mirror of
https://github.com/python/cpython.git
synced 2025-10-03 21:55:41 +00:00
Asyncio documentation: remove self
from method signatures (GH-334) (GH-336)
(cherry picked from commit 091b84f23a
)
This commit is contained in:
parent
8400ae209b
commit
b945e0784f
1 changed files with 3 additions and 3 deletions
|
@ -33,7 +33,7 @@ BaseTransport
|
|||
|
||||
Base class for transports.
|
||||
|
||||
.. method:: close(self)
|
||||
.. method:: close()
|
||||
|
||||
Close the transport. If the transport has a buffer for outgoing
|
||||
data, buffered data will be flushed asynchronously. No more data
|
||||
|
@ -41,7 +41,7 @@ BaseTransport
|
|||
protocol's :meth:`connection_lost` method will be called with
|
||||
:const:`None` as its argument.
|
||||
|
||||
.. method:: is_closing(self)
|
||||
.. method:: is_closing()
|
||||
|
||||
Return ``True`` if the transport is closing or is closed.
|
||||
|
||||
|
@ -248,7 +248,7 @@ BaseSubprocessTransport
|
|||
if it hasn't returned, similarly to the
|
||||
:attr:`subprocess.Popen.returncode` attribute.
|
||||
|
||||
.. method:: kill(self)
|
||||
.. method:: kill()
|
||||
|
||||
Kill the subprocess, as in :meth:`subprocess.Popen.kill`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue