Skip to content

Commit 2e12d42

Browse files
committed
Add sys._framework
1 parent 62388c4 commit 2e12d42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/sysmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1965,6 +1965,7 @@ _PySys_BeginInit(void)
19651965
SET_SYS_FROM_STRING("_git",
19661966
Py_BuildValue("(szz)", "CPython", _Py_gitidentifier(),
19671967
_Py_gitversion()));
1968+
SET_SYS_FROM_STRING("_framework", PyUnicode_FromString(PYTHONFRAMEWORK));
19681969
SET_SYS_FROM_STRING("api_version",
19691970
PyLong_FromLong(PYTHON_API_VERSION));
19701971
SET_SYS_FROM_STRING("copyright",

0 commit comments

Comments
 (0)