(self, visitor: TypeVisitor[T])
| 477 | # This may hide some real bugs, but it is convenient for various "synthetic" |
| 478 | # visitors, similar to RequiredType and ReadOnlyType below. |
| 479 | def accept(self, visitor: TypeVisitor[T]) -> T: |
| 480 | return self.type_guard.accept(visitor) |
| 481 | |
| 482 | |
| 483 | class RequiredType(Type): |