mirror of
https://github.com/python/cpython.git
synced 2025-08-24 10:45:53 +00:00
GH-99770: Make the correct call specialization fail kind show up in the stats (GH-99771)
This commit is contained in:
parent
2b82c36f17
commit
a02161286a
2 changed files with 85 additions and 64 deletions
|
@ -224,7 +224,7 @@ def pretty(defname):
|
|||
return defname.replace("_", " ").lower()
|
||||
|
||||
def kind_to_text(kind, defines, opname):
|
||||
if kind <= 7:
|
||||
if kind <= 8:
|
||||
return pretty(defines[kind][0])
|
||||
if opname.endswith("ATTR"):
|
||||
opname = "ATTR"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue