[Python-checkins] cpython (3.5): Issue #27907: variable rename. (Ville Skyttä)

guido.van.rossum python-checkins at python.org
Wed Aug 31 12:09:15 EDT 2016


https://hg.python.org/cpython/rev/2a748320616b
changeset:   102971:2a748320616b
branch:      3.5
parent:      102969:caf547c9e589
user:        Guido van Rossum <guido at python.org>
date:        Wed Aug 31 09:08:41 2016 -0700
summary:
  Issue #27907: variable rename. (Ville Skyttä)

files:
  Lib/test/test_asyncio/test_events.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py
--- a/Lib/test/test_asyncio/test_events.py
+++ b/Lib/test/test_asyncio/test_events.py
@@ -763,11 +763,11 @@
         addr = lsock.getsockname()
 
         message = b'test data'
-        reponse = None
+        response = None
         expected_response = b'roger'
 
         def client():
-            global response
+            nonlocal response
             try:
                 csock = socket.socket()
                 if client_ssl is not None:

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


More information about the Python-checkins mailing list