4 ms·
Won't this work just fine if you instead of writing: from a import A write import a and in the code (which is presumably not at module level) check agai
by scbrg 5y ago
Won't this work just fine if you instead of writing:
from a import A
write
import a
and in the code (which is presumably not at module level) check against
isinstance(obj, a.A)
?