Add __all__ for most modules beginning with 't' (#7373)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-02-23 18:25:28 -08:00
1 parent 062fc75d73
commit 6a743348ca
22 files changed
+1192

No files matched your search

+4
View File
@@ -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: ...