Skip to content

Commit ddd8434

Browse files
authored
Bump pywin32 to 311.* (#14437)
1 parent 723db2f commit ddd8434

File tree

4 files changed

+12
-8
lines changed

4 files changed

+12
-8
lines changed

stubs/pywin32/METADATA.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "310.*"
1+
version = "311.*"
22
upstream_repository = "https://github.com/mhammond/pywin32"
33

44
[tool.stubtest]

stubs/pywin32/win32/lib/win32con.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,8 @@ IDC_NO: Final = 32648
607607
IDC_HAND: Final = 32649
608608
IDC_APPSTARTING: Final = 32650
609609
IDC_HELP: Final = 32651
610+
IDC_PIN: Final = 32671
611+
IDC_PERSON: Final = 32672
610612
IMAGE_BITMAP: Final = 0
611613
IMAGE_ICON: Final = 1
612614
IMAGE_CURSOR: Final = 2

stubs/pywin32/win32com/client/__init__.pyi

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
from _typeshed import Incomplete
1+
from _typeshed import Incomplete, Unused
2+
from collections.abc import Iterator
23
from typing import Final
34
from typing_extensions import TypeAlias
45

@@ -62,12 +63,12 @@ class CoClassBaseClass:
6263
def __init__(self, oobj: Incomplete | None = ...) -> None: ...
6364
def __getattr__(self, attr: str): ...
6465
def __setattr__(self, attr: str, value) -> None: ...
65-
def __maybe__call__(self, *args, **kwargs): ...
66-
def __maybe__str__(self, *args): ...
67-
def __maybe__int__(self, *args): ...
68-
def __maybe__iter__(self): ...
69-
def __maybe__len__(self): ...
70-
def __maybe__bool__(self): ...
66+
def __call__(self, *args, **kwargs): ...
67+
def __str__(self, *args: Unused) -> str: ... # noqa: Y029
68+
def __int__(self, *args: Unused) -> int: ...
69+
def __iter__(self) -> Iterator[Incomplete]: ...
70+
def __len__(self) -> int: ...
71+
def __bool__(self) -> bool: ...
7172

7273
class VARIANT:
7374
varianttype: Incomplete

stubs/pywin32/win32comext/propsys/pscon.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -652,6 +652,7 @@ PKEY_Link_TargetUrl: Incomplete
652652
PKEY_Shell_SFGAOFlagsStrings: Incomplete
653653
PKEY_Software_DateLastUsed: Incomplete
654654
PKEY_Software_ProductName: Incomplete
655+
PKEY_Software_ProductVersion: Incomplete
655656
PKEY_Sync_Comments: Incomplete
656657
PKEY_Sync_ConflictDescription: Incomplete
657658
PKEY_Sync_ConflictFirstLocation: Incomplete

0 commit comments

Comments
 (0)