Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python type hint superclass

from typing import Type
def process_any_subclass_type_of_A(cls: Type[A]):
    pass
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #type #hint #superclass
ADD COMMENT
Topic
Name
3+2 =