summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-27 23:34:08 (GMT)
committerGitHub <noreply@github.com>2017-11-27 23:34:08 (GMT)
commit28e61650b23119b68cd7943ccc01b8b9af1b4103 (patch)
treeec2f0f1c841e117f91b3ae332cb07ce8acf756de /Lib
parentc9409f7c4533f75b11a4c44e839d95a1403f8a0a (diff)
downloadcpython-28e61650b23119b68cd7943ccc01b8b9af1b4103.zip
cpython-28e61650b23119b68cd7943ccc01b8b9af1b4103.tar.gz
cpython-28e61650b23119b68cd7943ccc01b8b9af1b4103.tar.bz2
bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/asyncio/base_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/base_events.py b/Lib/asyncio/base_events.py
index bb04aef..ffdb50f 100644
--- a/Lib/asyncio/base_events.py
+++ b/Lib/asyncio/base_events.py
@@ -860,7 +860,7 @@ class BaseEventLoop(events.AbstractEventLoop):
addr_pairs_info = (((family, proto), (None, None)),)
elif hasattr(socket, 'AF_UNIX') and family == socket.AF_UNIX:
for addr in (local_addr, remote_addr):
- if addr is not None and not isistance(addr, str):
+ if addr is not None and not isinstance(addr, str):
raise TypeError('string is expected')
addr_pairs_info = (((family, proto),
(local_addr, remote_addr)), )