diff --git a/mypy/type_visitor.py b/mypy/type_visitor.py index 905f46a92576a..934a4421362f9 100644 --- a/mypy/type_visitor.py +++ b/mypy/type_visitor.py @@ -134,7 +134,6 @@ def visit_placeholder_type(self, t: PlaceholderType) -> T: pass -@trait class TypeTranslator(TypeVisitor[Type]): """Identity type transformation. @@ -242,7 +241,6 @@ def visit_type_alias_type(self, t: TypeAliasType) -> Type: pass -@trait class TypeQuery(SyntheticTypeVisitor[T]): """Visitor for performing queries of types.