Convert a list of items to a multiline pretty-printed string. The tag is produced from the type name of obj and its line number. See mypy.util.dump_tagged for a description of the nodes argument.
(self, nodes: Sequence[object], obj: mypy.nodes.Context)
| 55 | return "" |
| 56 | |
| 57 | def dump(self, nodes: Sequence[object], obj: mypy.nodes.Context) -> str: |
| 58 | """Convert a list of items to a multiline pretty-printed string. |
| 59 | |
| 60 | The tag is produced from the type name of obj and its line |
| 61 | number. See mypy.util.dump_tagged for a description of the nodes |
| 62 | argument. |
| 63 | """ |
| 64 | tag = short_type(obj) + ":" + str(obj.line) |
| 65 | if self.show_ids: |
| 66 | assert self.id_mapper is not None |
| 67 | tag += f"<{self.get_id(obj)}>" |
| 68 | return dump_tagged(nodes, tag, self) |
| 69 | |
| 70 | def func_helper(self, o: mypy.nodes.FuncItem) -> list[object]: |
| 71 | """Return a list in a format suitable for dump() that represents the |
no test coverage detected