MCPcopy Index your code
hub / github.com/python/cpython / dump

Method dump

Tools/cases_generator/analyzer.py:48–55  ·  view source on GitHub ↗
(self, indent: str)

Source from the content-addressed store, hash-verified

46 no_save_ip: bool = False
47
48 def dump(self, indent: str) -> None:
49 simple_properties = self.__dict__.copy()
50 del simple_properties["escaping_calls"]
51 text = "escaping_calls:\n"
52 for tkns in self.escaping_calls.values():
53 text += f"{indent} {tkns}\n"
54 text += ", ".join([f"{key}: {value}" for (key, value) in simple_properties.items()])
55 print(indent, text, sep="")
56
57 @staticmethod
58 def from_list(properties: list["Properties"]) -> "Properties":

Callers

nothing calls this directly

Calls 4

copyMethod · 0.45
valuesMethod · 0.45
joinMethod · 0.45
itemsMethod · 0.45

Tested by

no test coverage detected