mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
stdlib: More pos-only parameters to Protocols (#10987)
This commit is contained in:
@@ -6,7 +6,7 @@ if sys.version_info >= (3, 9):
|
||||
__all__ = ["dnd_start", "DndHandler"]
|
||||
|
||||
class _DndSource(Protocol):
|
||||
def dnd_end(self, target: Widget | None, event: Event[Misc] | None) -> None: ...
|
||||
def dnd_end(self, __target: Widget | None, __event: Event[Misc] | None) -> None: ...
|
||||
|
||||
class DndHandler:
|
||||
root: ClassVar[Tk | None]
|
||||
|
||||
Reference in New Issue
Block a user