Subclass in type hinting Subclass in type hinting python python