mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-21 18:42:07 +08:00
Fix pywin32's PyCBitmap.GetBitmapBits method (#11108)
This commit is contained in:
@@ -4801,7 +4801,12 @@ class PyCBitmap:
|
||||
arg1: tuple[Incomplete, Incomplete, Incomplete, Incomplete],
|
||||
) -> None: ...
|
||||
def GetInfo(self): ...
|
||||
def GetBitmapBits(self, asString: int = ...) -> str: ...
|
||||
@overload
|
||||
def GetBitmapBits(self, __asString: Literal[False] = False) -> tuple[int, ...]: ...
|
||||
@overload
|
||||
def GetBitmapBits(self, __asString: Literal[True]) -> bytes: ...
|
||||
@overload
|
||||
def GetBitmapBits(self, __asString: bool) -> tuple[int, ...] | bytes: ...
|
||||
def SaveBitmapFile(self, dcObject: PyCDC, Filename: str): ...
|
||||
|
||||
class PyCBrush:
|
||||
|
||||
Reference in New Issue
Block a user