gh-123892: Add "_wmi" to sys.stdlib_module_names (#123893)

This commit is contained in:
Victor Stinner 2024-09-10 11:54:17 +02:00 committed by GitHub
parent b52de7e02d
commit fb1b51a58d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
Add ``"_wmi"`` to :data:`sys.stdlib_module_names`. Patch by Victor Stinner.

View File

@ -97,6 +97,7 @@ static const char* _Py_stdlib_module_names[] = {
"_weakref", "_weakref",
"_weakrefset", "_weakrefset",
"_winapi", "_winapi",
"_wmi",
"_zoneinfo", "_zoneinfo",
"abc", "abc",
"annotationlib", "annotationlib",

View File

@ -54,6 +54,7 @@ WINDOWS_MODULES = {
"_overlapped", "_overlapped",
"_testconsole", "_testconsole",
"_winapi", "_winapi",
"_wmi",
"msvcrt", "msvcrt",
"nt", "nt",
"winreg", "winreg",