mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +08:00
Add __all__ for most modules beginning with 't' (#7373)
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
import sys
|
||||
from tkinter import Event, Misc, Tk, Widget
|
||||
from typing import ClassVar, Protocol
|
||||
|
||||
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: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user