Lines Matching refs:__class__
401 metacls = cls.__class__
581 self.__class__.__name__, self._name_, self._value_)
584 return "%s.%s" % (self.__class__.__name__, self._name_)
589 for cls in self.__class__.mro()
614 return self.__class__, (self._value_, )
730 if not isinstance(other, self.__class__):
740 cls = self.__class__
751 cls = self.__class__
767 if not isinstance(other, self.__class__):
769 return self.__class__(self._value_ | other._value_)
772 if not isinstance(other, self.__class__):
774 return self.__class__(self._value_ & other._value_)
777 if not isinstance(other, self.__class__):
779 return self.__class__(self._value_ ^ other._value_)
782 members, uncovered = _decompose(self.__class__, self._value_)
783 inverted = self.__class__(0)
784 for m in self.__class__:
787 return self.__class__(inverted)
831 if not isinstance(other, (self.__class__, int)):
833 result = self.__class__(self._value_ | self.__class__(other)._value_)
837 if not isinstance(other, (self.__class__, int)):
839 return self.__class__(self._value_ & self.__class__(other)._value_)
842 if not isinstance(other, (self.__class__, int)):
844 return self.__class__(self._value_ ^ self.__class__(other)._value_)
851 result = self.__class__(~self._value_)