]> granicus.if.org Git - python/commitdiff
Fix typo in asyncio.AbstractServer documentation
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Dec 2013 17:23:52 +0000 (18:23 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 3 Dec 2013 17:23:52 +0000 (18:23 +0100)
Doc/library/asyncio-protocol.rst
Lib/asyncio/events.py

index 5182df5ec34db7faee93fe7411d488841f93a789..6794fdfad06844c79647c720c8589beabb8d48a8 100644 (file)
@@ -515,7 +515,7 @@ Server
 
 .. class:: AbstractServer
 
-   Abstract server returned by create_service().
+   Abstract server returned by :func:`BaseEventLoop.create_server`.
 
    .. method:: close()
 
index c10faa75b06626f2c07ea8d4d71bfb4a6aabd46f..62400195a2424ed3dd4ce0117215ed1f98a3891c 100644 (file)
@@ -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."""