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

Class StableABIEntry

Doc/tools/extensions/c_annotations.py:63–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61
62@dataclasses.dataclass(frozen=True, slots=True)
63class StableABIEntry:
64 # Role of the object.
65 # Source: Each [item_kind] in stable_abi.toml is mapped to a C Domain role.
66 role: str
67 # Name of the object.
68 # Source: [<item_kind>.*] in stable_abi.toml.
69 name: str
70 # Version when the object was added to the stable ABI.
71 # (Source: [<item_kind>.*.added] in stable_abi.toml.
72 added: str
73 # An explananatory blurb for the ifdef.
74 # Source: ``feature_macro.*.doc`` in stable_abi.toml.
75 ifdef_note: str
76 # Defines how much of the struct is exposed. Only relevant for structs.
77 # Source: [<item_kind>.*.struct_abi_kind] in stable_abi.toml.
78 struct_abi_kind: str
79
80
81def read_refcount_data(refcount_filename: Path) -> dict[str, RefCountEntry]:

Callers 1

read_stable_abi_dataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…