mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
Add missing tkinter submodules (#4558)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
1 parent
6aa5cc691c
commit
58032a7018
10 files changed
+388
-17
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import sys
|
||||
from typing import Optional, Protocol
|
||||
|
||||
if sys.version_info >= (3,):
|
||||
from tkinter import Event, Misc, Widget
|
||||
class DndSource(Protocol):
|
||||
def dnd_end(self, target: Optional[Widget], event: Optional[Event[Misc]]) -> None: ...
|
||||
Reference in new issue
Block a user