22 lines
542 B
Python
22 lines
542 B
Python
"""\
|
|
The `winxpgui` module is obsolete and has been completely replaced \
|
|
by `win32gui` and `win32console.GetConsoleWindow`. Use those instead. \
|
|
"""
|
|
|
|
from __future__ import annotations
|
|
|
|
import warnings
|
|
|
|
from win32console import (
|
|
GetConsoleWindow as GetConsoleWindow, # noqa: PLC0414 # Explicit re-export
|
|
)
|
|
from win32gui import *
|
|
|
|
warnings.warn(
|
|
"""\
|
|
The `winxpgui` module is obsolete and has been completely replaced \
|
|
by `win32gui` and `win32console.GetConsoleWindow`. Use those instead. \
|
|
""",
|
|
category=DeprecationWarning,
|
|
)
|