mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from tkinter import Event, Misc, Toplevel
|
||||
from typing import Any, List
|
||||
from typing import Any
|
||||
|
||||
class Dialog(Toplevel):
|
||||
def __init__(self, parent: Misc | None, title: str | None = ...) -> None: ...
|
||||
@@ -11,7 +11,7 @@ class SimpleDialog:
|
||||
self,
|
||||
master: Misc | None,
|
||||
text: str = ...,
|
||||
buttons: List[str] = ...,
|
||||
buttons: list[str] = ...,
|
||||
default: int | None = ...,
|
||||
cancel: int | None = ...,
|
||||
title: str | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user