mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
Xlib: Use bool for parameters where the default is False (#9990)
This commit is contained in:
@@ -179,7 +179,7 @@ def list_device_properties(self: Display | resource.Resource, deviceid: int) ->
|
||||
class XIGetProperty(rq.ReplyRequest): ...
|
||||
|
||||
def get_device_property(
|
||||
self: Display | resource.Resource, deviceid: int, property: int, type: int, offset: int, length: int, delete: int = False
|
||||
self: Display | resource.Resource, deviceid: int, property: int, type: int, offset: int, length: int, delete: bool = False
|
||||
) -> XIGetProperty: ...
|
||||
|
||||
class XIChangeProperty(rq.Request): ...
|
||||
|
||||
@@ -382,7 +382,7 @@ class Request:
|
||||
) -> None: ...
|
||||
|
||||
class ReplyRequest(GetAttrData):
|
||||
def __init__(self, display: display.Display, defer: int = False, *args: object, **keys: object) -> None: ...
|
||||
def __init__(self, display: display.Display, defer: bool = False, *args: object, **keys: object) -> None: ...
|
||||
def reply(self) -> None: ...
|
||||
|
||||
class Event(GetAttrData):
|
||||
|
||||
Reference in New Issue
Block a user