Kaydet (Commit) 8b9ea873 authored tarafından Guido van Rossum's avatar Guido van Rossum

Use MS_DLL_ID as sys.winver

üst 05797152
......@@ -269,10 +269,10 @@ initsys()
dictinsert(sysdict, "builtin_module_names",
v = list_builtin_module_names());
XDECREF(v);
#ifdef PYTHONWIN
#ifdef MS_COREDLL
dictinsert(sysdict, "dllhandle", v = newintobject((int)PyWin_DLLhModule));
XDECREF(v);
dictinsert(sysdict, "winver", v = newstringobject(WIN32_PATCH_LEVEL));
dictinsert(sysdict, "winver", v = newstringobject(MS_DLL_ID));
XDECREF(v);
#endif
if (err_occurred())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment