Return the actual, internal module id for a source text id.
(self, id: str)
| 870 | return self._is_stripped_if_stmt(stmt.else_body.body[0]) |
| 871 | |
| 872 | def translate_module_id(self, id: str) -> str: |
| 873 | """Return the actual, internal module id for a source text id.""" |
| 874 | if id == self.options.custom_typing_module: |
| 875 | return "typing" |
| 876 | return id |
| 877 | |
| 878 | def visit_Module(self, mod: ast3.Module) -> MypyFile: |
| 879 | self.type_ignores = {} |
no outgoing calls
no test coverage detected