Can I refer to one TypeVar in the bound of another TypeVar?
I have a generic Base
class that instantiates a class called Factory
. The Factory
class is provided to Base
by Base
‘s subclasses, and then Base
passes the instance to certain subclass methods.
Can I refer to one TypeVar in the bound of another TypeVar?
I have a generic Base
class that instantiates a class called Factory
. The Factory
class is provided to Base
by Base
‘s subclasses, and then Base
passes the instance to certain subclass methods.
Can I refer to one TypeVar in the bound of another TypeVar?
I have a generic Base
class that instantiates a class called Factory
. The Factory
class is provided to Base
by Base
‘s subclasses, and then Base
passes the instance to certain subclass methods.
Can I refer to one TypeVar in the bound of another TypeVar?
I have a generic Base
class that instantiates a class called Factory
. The Factory
class is provided to Base
by Base
‘s subclasses, and then Base
passes the instance to certain subclass methods.
Can I refer to one TypeVar in the bound of another TypeVar?
I have a generic Base
class that instantiates a class called Factory
. The Factory
class is provided to Base
by Base
‘s subclasses, and then Base
passes the instance to certain subclass methods.