move DndSource to tkinter/dnd.pyi (#5588)

This commit is contained in:
Akuli
2021-06-07 17:07:57 +03:00
committed by GitHub
parent ec80fdaeb5
commit 200260e685
3 changed files with 6 additions and 12 deletions

View File

@@ -1,7 +0,0 @@
# See the README.md file in this directory for more information.
from tkinter import Event, Misc, Widget
from typing import Optional, Protocol
class DndSource(Protocol):
def dnd_end(self, target: Optional[Widget], event: Optional[Event[Misc]]) -> None: ...