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

Method get_strings

Lib/profiling/sampling/string_table.py:43–49  ·  view source on GitHub ↗

Get the list of all strings in the table. Returns: list: A copy of the strings list

(self)

Source from the content-addressed store, hash-verified

41 return ""
42
43 def get_strings(self):
44 """Get the list of all strings in the table.
45
46 Returns:
47 list: A copy of the strings list
48 """
49 return self._strings.copy()
50
51 def __len__(self):
52 """Return the number of strings in the table."""

Callers 1

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected