summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-02-14 23:07:09 (GMT)
committerGitHub <noreply@github.com>2022-02-14 23:07:09 (GMT)
commit1d9036425e811f2c6c231fbc54159f9e82f91470 (patch)
tree00ec616ec81c3c92fe63f10fb4dc513cf8dfe531 /Tools
parent04215a427232e55efdc1adcda50a15197f518ca9 (diff)
downloadcpython-1d9036425e811f2c6c231fbc54159f9e82f91470.zip
cpython-1d9036425e811f2c6c231fbc54159f9e82f91470.tar.gz
cpython-1d9036425e811f2c6c231fbc54159f9e82f91470.tar.bz2
Regen the global objects using PYTHON_FOR_REGEN. (gh-31344)
https://bugs.python.org/issue46541
Diffstat (limited to 'Tools')
-rw-r--r--Tools/scripts/generate_global_objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/generate_global_objects.py b/Tools/scripts/generate_global_objects.py
index b184e74..7306889 100644
--- a/Tools/scripts/generate_global_objects.py
+++ b/Tools/scripts/generate_global_objects.py
@@ -5,7 +5,7 @@ import re
import sys
-assert os.path.isabs(__file__), __file__
+__file__ = os.path.abspath(__file__)
ROOT = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
INTERNAL = os.path.join(ROOT, 'Include', 'internal')