mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-02 17:47:29 +08:00
more 3.7 features (#2015)
This commit is contained in:
1 parent
ce0656a8c7
commit
7cfbc7d17f
6 files changed
+30
-4
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import sys
|
||||
from typing import Any
|
||||
import tkinter
|
||||
|
||||
@@ -105,6 +106,11 @@ class Separator(Widget):
|
||||
class Sizegrip(Widget):
|
||||
def __init__(self, master=None, **kw): ...
|
||||
|
||||
if sys.version_info >= (3, 7):
|
||||
class Spinbox(Entry):
|
||||
def __init__(self, master: Any = ..., **kw: Any) -> None: ...
|
||||
def set(self, value: Any) -> None: ...
|
||||
|
||||
class Treeview(Widget, tkinter.XView, tkinter.YView):
|
||||
def __init__(self, master=None, **kw): ...
|
||||
def bbox(self, item, column=None): ...
|
||||
|
||||
Reference in new issue
Block a user