Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ get
Method
get
Tools/scripts/summarize_stats.py:370–371 ·
view source on GitHub ↗
(self, key: str)
Source
from the content-addressed store, hash-verified
368
self._data = data
369
370
def
get(self, key: str) -> int:
371
return
self._data.get(key, 0)
372
373
@functools.cache
374
def
get_opcode_stats(self, prefix: str) -> OpcodeStats:
Callers
15
make_id
Function · 0.45
format_antagonistic_comparison
Method · 0.45
format_antagonistic
Method · 0.45
_extract_docstring
Method · 0.45
_extract_message
Method · 0.45
_extract_comments
Method · 0.45
_add_message
Method · 0.45
main
Function · 0.45
fillhints
Method · 0.45
makeunicodedata
Function · 0.45
makeunicodetype
Function · 0.45
__init__
Method · 0.45
Calls
no outgoing calls
Tested by
7
apply
Method · 0.36
notifyTestFailed
Method · 0.36
notifyTestErrored
Method · 0.36
notifyTestSkipped
Method · 0.36
notifyTestFailedExpectedly
Method · 0.36
notifyTestFinished
Method · 0.36
showSelectedError
Method · 0.36