changeset 43954 | 303576116ac1 |
parent 43596 | 0ad5d6c4bfad |
child 44413 | 4cabeea6d214 |
--- a/contrib/import-checker.py Tue Dec 17 22:36:40 2019 -0500 +++ b/contrib/import-checker.py Wed Dec 18 13:39:44 2019 -0800 @@ -536,7 +536,7 @@ if not fullname or ( fullname in stdlib_modules # allow standard 'from typing import ...' style - and fullname != 'typing' + and fullname.startswith('.') and fullname not in localmods and fullname + '.__init__' not in localmods ):