tkinter: fix version availability (#4207)

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-06-09 03:20:48 -07:00
committed by GitHub
parent 5f70d3721a
commit 72c8907760
5 changed files with 4 additions and 10 deletions

View File

@@ -125,7 +125,8 @@ class Misc:
def tk_strictMotif(self, boolean: Optional[Any] = ...): ...
def tk_bisque(self): ...
def tk_setPalette(self, *args, **kw): ...
def tk_menuBar(self, *args): ...
if sys.version_info < (3, 6):
def tk_menuBar(self, *args): ...
def wait_variable(self, name: Union[str, Variable] = ...): ...
waitvar: Any
def wait_window(self, window: Optional[Any] = ...): ...
@@ -537,7 +538,8 @@ class Listbox(Widget, XView, YView):
class Menu(Widget):
def __init__(self, master: Optional[Any] = ..., cnf=..., **kw): ...
def tk_popup(self, x, y, entry: str = ...): ...
def tk_bindForTraversal(self): ...
if sys.version_info < (3, 6):
def tk_bindForTraversal(self): ...
def activate(self, index): ...
def add(self, itemType, cnf=..., **kw): ...
def add_cascade(self, cnf=..., **kw): ...

View File

@@ -39,8 +39,6 @@ secrets.SystemRandom.getstate
smtplib.SMTP.sendmail
sre_compile.dis
ssl.SSLSocket.__init__
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
typing.AbstractSet.isdisjoint
typing.AsyncGenerator.ag_await
typing.AsyncGenerator.ag_code

View File

@@ -51,8 +51,6 @@ smtplib.SMTP.sendmail
sre_constants.RANGE_IGNORE
ssl.PROTOCOL_SSLv3
ssl.RAND_egd
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
types.ClassMethodDescriptorType.__get__
types.MethodDescriptorType.__get__
types.WrapperDescriptorType.__get__

View File

@@ -79,8 +79,6 @@ ssl.PROTOCOL_SSLv3
ssl.RAND_egd
sys.UnraisableHookArgs
threading.ExceptHookArgs
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
types.ClassMethodDescriptorType.__get__
types.CodeType.replace
types.MethodDescriptorType.__get__

View File

@@ -176,8 +176,6 @@ sys.UnraisableHookArgs
threading.ExceptHookArgs
time.CLOCK_PROF
time.CLOCK_UPTIME
tkinter.Menu.tk_bindForTraversal
tkinter.Misc.tk_menuBar
trace.Trace.runfunc
types.ClassMethodDescriptorType.__get__
types.CodeType.replace