mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Fix typo in asyncio.AbstractServer documentation
This commit is contained in:
parent
c6fba92ebc
commit
cf6f72e329
2 changed files with 2 additions and 2 deletions
|
@ -515,7 +515,7 @@ Server
|
|||
|
||||
.. class:: AbstractServer
|
||||
|
||||
Abstract server returned by create_service().
|
||||
Abstract server returned by :func:`BaseEventLoop.create_server`.
|
||||
|
||||
.. method:: close()
|
||||
|
||||
|
|
|
@ -99,7 +99,7 @@ class TimerHandle(Handle):
|
|||
|
||||
|
||||
class AbstractServer:
|
||||
"""Abstract server returned by create_service()."""
|
||||
"""Abstract server returned by create_server()."""
|
||||
|
||||
def close(self):
|
||||
"""Stop serving. This leaves existing connections open."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue