]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-126525: Fix `makeunicodedata.py` output on macOS and Windows (#126526)
authorsobolevn <mail@sobolevn.me>
Tue, 12 Nov 2024 10:23:57 +0000 (13:23 +0300)
committerGitHub <noreply@github.com>
Tue, 12 Nov 2024 10:23:57 +0000 (13:23 +0300)
Tools/unicode/makeunicodedata.py

index c94de7f9377b749d9ab1454f519792209ce872c4..889ae8fc869b8ad2b04a71939608895f70404934 100644 (file)
@@ -35,7 +35,7 @@ from functools import partial
 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