mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 06:45:51 +08:00
Fix pywin32's PyCBitmap.GetBitmapBits method (#11108)
This commit is contained in:
1 parent
e915cb28be
commit
e76e6811e1
1 file changed
+6
-1
@@ -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