From: Michael Droettboom Date: Fri, 8 Sep 2023 16:23:58 +0000 (-0400) Subject: gh-109136: Fix summarize_stats.py tool (#109137) X-Git-Tag: v3.13.0a1~539 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=52beebc856fedf507ac0eb9e45c2e2c9fed1e5b8;p=thirdparty%2FPython%2Fcpython.git gh-109136: Fix summarize_stats.py tool (#109137) --- diff --git a/Tools/scripts/summarize_stats.py b/Tools/scripts/summarize_stats.py index 2d198506fb5c..55b67643977a 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