[Python-checkins] Fix asyncio.streams.FlowControlMixin docstring typo. (#4578)

Andrew Svetlov webhook-mailer at python.org
Fri Dec 1 07:33:48 EST 2017


https://github.com/python/cpython/commit/8f5c28b19374df47ebe3d665e54c1dda5c2d7dca
commit: 8f5c28b19374df47ebe3d665e54c1dda5c2d7dca
branch: master
author: John Chen <johnchen902 at gmail.com>
committer: Andrew Svetlov <andrew.svetlov at gmail.com>
date: 2017-12-01T14:33:40+02:00
summary:

Fix asyncio.streams.FlowControlMixin docstring typo. (#4578)

files:
M Lib/asyncio/streams.py

diff --git a/Lib/asyncio/streams.py b/Lib/asyncio/streams.py
index 05774e95300..15c9513527f 100644
--- a/Lib/asyncio/streams.py
+++ b/Lib/asyncio/streams.py
@@ -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.



More information about the Python-checkins mailing list