[Python-checkins] cpython (3.4): Issue #22560: Fix typo: call -> call_soon

victor.stinner python-checkins at python.org
Thu Jan 15 09:45:25 CET 2015


https://hg.python.org/cpython/rev/3c37825d85d3
changeset:   94163:3c37825d85d3
branch:      3.4
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Thu Jan 15 09:44:13 2015 +0100
summary:
  Issue #22560: Fix typo: call -> call_soon

files:
  Lib/asyncio/sslproto.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/asyncio/sslproto.py b/Lib/asyncio/sslproto.py
--- a/Lib/asyncio/sslproto.py
+++ b/Lib/asyncio/sslproto.py
@@ -577,7 +577,7 @@
         # _on_handshake_complete() can be called indirectly from
         # _process_write_backlog(), and _process_write_backlog() is not
         # reentrant.
-        self._loop.call(self._process_write_backlog)
+        self._loop.call_soon(self._process_write_backlog)
 
     def _process_write_backlog(self):
         # Try to make progress on the write backlog.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list