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.
(cherry picked from commit ff6c07729211fb98431a2793e074d07a21e0650a)
Co-authored-by: Victor Stinner <vstinner@redhat.com>
diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
index 5578c6f..12fdb0d 100644
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -535,7 +535,7 @@
if chunk:
try:
if self._app_protocol_is_buffer:
- protocols._feed_data_to_bufferred_proto(
+ protocols._feed_data_to_buffered_proto(
self._app_protocol, chunk)
else:
self._app_protocol.data_received(chunk)