Skip to content

tkinter: fix version availability #4207

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions stdlib/3/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,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] = ...): ...
Expand Down Expand Up @@ -474,7 +475,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): ...
Expand Down
2 changes: 0 additions & 2 deletions tests/stubtest_whitelists/py36.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions tests/stubtest_whitelists/py37.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 0 additions & 2 deletions tests/stubtest_whitelists/py38.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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__
Expand Down
2 changes: 0 additions & 2 deletions tests/stubtest_whitelists/py39.txt
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,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
Expand Down