summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Droettboom <mdboom@gmail.com>2023-09-08 16:23:58 (GMT)
committerGitHub <noreply@github.com>2023-09-08 16:23:58 (GMT)
commit52beebc856fedf507ac0eb9e45c2e2c9fed1e5b8 (patch)
tree4d789b1e480f915905677f87ca0f353cb2c7c876
parent6275c67ea68645e5b296a80ea63b90707a0be792 (diff)
downloadcpython-52beebc856fedf507ac0eb9e45c2e2c9fed1e5b8.zip
cpython-52beebc856fedf507ac0eb9e45c2e2c9fed1e5b8.tar.gz
cpython-52beebc856fedf507ac0eb9e45c2e2c9fed1e5b8.tar.bz2
gh-109136: Fix summarize_stats.py tool (#109137)
-rw-r--r--Tools/scripts/summarize_stats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py
index 2d19850..55b6764 100644
--- a/Tools/scripts/summarize_stats.py
+++ b/Tools/scripts/summarize_stats.py
@@ -430,7 +430,7 @@ def emit_comparative_specialization_overview(base_opcode_stats, base_total, head
)
def get_stats_defines():
- stats_path = os.path.join(os.path.dirname(__file__), "../../Include/pystats.h")
+ stats_path = os.path.join(os.path.dirname(__file__), "../../Include/cpython/pystats.h")
with open(stats_path) as stats_src:
defines = parse_kinds(stats_src, prefix="EVAL_CALL")
return defines