mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-03 10:03:32 +08:00
Add missing tkinter submodules (#4558)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
7
stdlib/2and3/_typeshed/tkinter.pyi
Normal file
7
stdlib/2and3/_typeshed/tkinter.pyi
Normal file
@@ -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