mirror of
https://github.com/python/cpython.git
synced 2024-11-27 11:55:13 +08:00
import statements only raise ImportError, right?
This commit is contained in:
parent
db5d1444a1
commit
3c4a629bdc
@ -13,7 +13,7 @@ EMPTYSTRING = ''
|
||||
|
||||
try:
|
||||
from binascii import a2b_qp, b2a_qp
|
||||
except:
|
||||
except ImportError:
|
||||
a2b_qp = None
|
||||
b2a_qp = None
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user