projects
/
cached-property.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
eb0969d
)
Merge pull request #103 from asottile/patch-1
author
Daniel Roy Greenfeld
<pydanny@users.noreply.github.com>
Thu, 14 Jun 2018 16:31:41 +0000
(09:31 -0700)
committer
GitHub
<noreply@github.com>
Thu, 14 Jun 2018 16:31:41 +0000
(09:31 -0700)
Also catch `SyntaxError` from asyncio import
cached_property.py
patch
|
blob
|
history
diff --git
a/cached_property.py
b/cached_property.py
index eb9e90ff02d74be22db01da8a900824e69c5b892..0410791b036efdc4c8f28465e9e8f8d0d26a0ffa 100644
(file)
--- a/
cached_property.py
+++ b/
cached_property.py
@@
-10,7
+10,7
@@
import threading
try:
import asyncio
-except
ImportError
:
+except
(ImportError, SyntaxError)
:
asyncio = None