class SupportsInt(_Protocol):
+ """An ABC with one abstract method __int__."""
__slots__ = ()
@abstractmethod
class SupportsFloat(_Protocol):
+ """An ABC with one abstract method __float__."""
__slots__ = ()
@abstractmethod
class SupportsComplex(_Protocol):
+ """An ABC with one abstract method __complex__."""
__slots__ = ()
@abstractmethod
class SupportsBytes(_Protocol):
+ """An ABC with one abstract method __bytes__."""
__slots__ = ()
@abstractmethod
class SupportsAbs(_Protocol[T_co]):
+ """An ABC with one abstract method __abs__ that is covariant in its return type."""
__slots__ = ()
@abstractmethod
class SupportsRound(_Protocol[T_co]):
+ """An ABC with one abstract method __round__ that is covariant in its return type."""
__slots__ = ()
@abstractmethod