mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
Add a couple missing tkinter things (#13149)
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import _tkinter
|
||||
import itertools
|
||||
import sys
|
||||
import tkinter
|
||||
from typing import Any, Final, Literal, TypedDict, overload
|
||||
from typing import Any, ClassVar, Final, Literal, TypedDict, overload
|
||||
from typing_extensions import TypeAlias
|
||||
|
||||
if sys.version_info >= (3, 9):
|
||||
@@ -40,6 +41,7 @@ class _MetricsDict(TypedDict):
|
||||
class Font:
|
||||
name: str
|
||||
delete_font: bool
|
||||
counter: ClassVar[itertools.count[int]] # undocumented
|
||||
def __init__(
|
||||
self,
|
||||
# In tkinter, 'root' refers to tkinter.Tk by convention, but the code
|
||||
|
||||
Reference in New Issue
Block a user