[Python-checkins] cpython: Fix typo in asyncio.AbstractServer documentation
victor.stinner
python-checkins at python.org
Tue Dec 3 18:24:15 CET 2013
http://hg.python.org/cpython/rev/c061dbfd6842
changeset: 87745:c061dbfd6842
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Dec 03 18:23:52 2013 +0100
summary:
Fix typo in asyncio.AbstractServer documentation
files:
Doc/library/asyncio-protocol.rst | 2 +-
Lib/asyncio/events.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/asyncio-protocol.rst b/Doc/library/asyncio-protocol.rst
--- a/Doc/library/asyncio-protocol.rst
+++ b/Doc/library/asyncio-protocol.rst
@@ -515,7 +515,7 @@
.. 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
--- a/Lib/asyncio/events.py
+++ b/Lib/asyncio/events.py
@@ -99,7 +99,7 @@
class AbstractServer:
- """Abstract server returned by create_service()."""
+ """Abstract server returned by create_server()."""
def close(self):
"""Stop serving. This leaves existing connections open."""
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list