projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9409f7
)
bpo-31245: asyncio: Fix typo, isistance => isinstance (#4594)
author
Victor Stinner
<victor.stinner@gmail.com>
Mon, 27 Nov 2017 23:34:08 +0000
(
00:34
+0100)
committer
GitHub
<noreply@github.com>
Mon, 27 Nov 2017 23:34:08 +0000
(
00:34
+0100)
Lib/asyncio/base_events.py
patch
|
blob
|
history
diff --git
a/Lib/asyncio/base_events.py
b/Lib/asyncio/base_events.py
index bb04aef76e874e1cb9fc5bab0d8f719284279db7..ffdb50f4beea3ea07ed309cdead7251f7a906be5 100644
(file)
--- 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 isi
n
stance(addr, str):
raise TypeError('string is expected')
addr_pairs_info = (((family, proto),
(local_addr, remote_addr)), )