class A:
somemethod
class A
in module m1
in module m2
I want to use isinstance()
to check object obj1
is or not class A
and obj1 = A()
but isinstance(obj1,A)
is False
....type(obj1) == <class, m1.A>
I can't understand why? help me