]> granicus.if.org Git - python/commitdiff
Fix asyncio.streams.FlowControlMixin docstring typo. (#4578)
authorJohn Chen <johnchen902@gmail.com>
Fri, 1 Dec 2017 12:33:40 +0000 (20:33 +0800)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Fri, 1 Dec 2017 12:33:40 +0000 (14:33 +0200)
Lib/asyncio/streams.py

index 05774e953009f7c85cb7d1e8d320873efd194613..15c9513527f3089d6e8a712da928dc7df8e7da49 100644 (file)
@@ -154,7 +154,7 @@ class FlowControlMixin(protocols.Protocol):
     """Reusable flow control logic for StreamWriter.drain().
 
     This implements the protocol methods pause_writing(),
-    resume_reading() and connection_lost().  If the subclass overrides
+    resume_writing() and connection_lost().  If the subclass overrides
     these it must call the super methods.
 
     StreamWriter.drain() must wait for _drain_helper() coroutine.