From 0335e3a6511775874f19b3f1de55a9d5235b8feb Mon Sep 17 00:00:00 2001 From: sobolevn Date: Tue, 12 Nov 2024 13:23:57 +0300 Subject: [PATCH] gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (GH-126526) (cherry picked from commit f223efb2a2d6a3e86556be7295cbbd3ef839f489) Co-authored-by: sobolevn --- Tools/unicode/makeunicodedata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/unicode/makeunicodedata.py b/Tools/unicode/makeunicodedata.py index 034642db06e48b..8732db22dbd630 100644 --- a/Tools/unicode/makeunicodedata.py +++ b/Tools/unicode/makeunicodedata.py @@ -35,7 +35,7 @@ from textwrap import dedent from typing import Iterator, List, Optional, Set, Tuple -SCRIPT = sys.argv[0] +SCRIPT = os.path.normpath(sys.argv[0]) VERSION = "3.3" # The Unicode Database