8000 tkinter: add info_patchlevel for 3.11 by JelleZijlstra · Pull Request #7794 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

tkinter: add info_patchlevel for 3.11 #7794

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 3 commits into from
May 7, 2022
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
[pre-commit.ci] auto fixes from pre-commit.com hooks
  • Loading branch information
pre-commit-ci[bot] committed May 7, 2022
commit efa64cedb5cb2f3343879a0a1208e1f66f1ec4bf
3 changes: 2 additions & 1 deletion stdlib/tkinter/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ if sys.version_info >= (3, 11):
micro: int
releaselevel: str
serial: int

class EventType(str, Enum):
Activate: str
ButtonPress: str
Expand Down Expand Up @@ -387,6 +387,7 @@ class Misc:
lift = tkraise
if sys.version_info >= (3, 11):
def info_patchlevel(self) -> VersionInfoType: ...

def winfo_atom(self, name: str, displayof: Literal[0] | Misc | None = ...) -> int: ...
def winfo_atomname(self, id: int, displayof: Literal[0] | Misc | None = ...) -> str: ...
def winfo_cells(self) -> int: ...
Expand Down
0