From: Victor Stinner Date: Tue, 3 Dec 2013 17:23:52 +0000 (+0100) Subject: Fix typo in asyncio.AbstractServer documentation X-Git-Tag: v3.4.0b2~358 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cf6f72e329838d774dbd9cbb795c7d213ebc55bc;p=thirdparty%2FPython%2Fcpython.git Fix typo in asyncio.AbstractServer documentation --- diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst index 5182df5ec34d..6794fdfad068 100644 --- a/Doc/library/asyncio-protocol.rst +++ b/Doc/library/asyncio-protocol.rst @@ -515,7 +515,7 @@ Server .. class:: AbstractServer - Abstract server returned by create_service(). + Abstract server returned by :func:`BaseEventLoop.create_server`. .. method:: close() diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index c10faa75b066..62400195a242 100644 --- a/Lib/asyncio/events.py +++ b/Lib/asyncio/events.py @@ -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."""