summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/proactor_events.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-06-08 08:32:06 (GMT)
committerGitHub <noreply@github.com>2018-06-08 08:32:06 (GMT)
commitff6c07729211fb98431a2793e074d07a21e0650a (patch)
tree7883e763d7ecf72e0b98e887061ee3bb2bb9a9c7 /Lib/asyncio/proactor_events.py
parentc45fc7673e23f911639d10d3771ffef7be870c7a (diff)
downloadcpython-ff6c07729211fb98431a2793e074d07a21e0650a.zip
cpython-ff6c07729211fb98431a2793e074d07a21e0650a.tar.gz
cpython-ff6c07729211fb98431a2793e074d07a21e0650a.tar.bz2
bpo-33694: Fix typo in helper function name (GH-7522)
_feed_data_to_bufferred_proto() renamed to _feed_data_to_buffered_proto() ("bufferred" => "buffered"). Typo spotted by Nathaniel J. Smith.
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r--Lib/asyncio/proactor_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py
index d9cfdff..6d230a2 100644
--- a/Lib/asyncio/proactor_events.py
+++ b/Lib/asyncio/proactor_events.py
@@ -234,7 +234,7 @@ class _ProactorReadPipeTransport(_ProactorBasePipeTransport,
if isinstance(self._protocol, protocols.BufferedProtocol):
try:
- protocols._feed_data_to_bufferred_proto(self._protocol, data)
+ protocols._feed_data_to_buffered_proto(self._protocol, data)
except Exception as exc:
self._fatal_error(exc,
'Fatal error: protocol.buffer_updated() '