Skip to the content.

Type Hint for Type Object

Recipes

from typing import Type


class C: pass
c: Type[C] = C

o: Type[object]
e: Type[BaseException]

More Details