mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-123341: Support tkinter.Event
type subcript (#123353)
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
This commit is contained in:
parent
64af2b29d2
commit
42a818912b
3 changed files with 9 additions and 0 deletions
|
@ -295,6 +295,8 @@ class Event:
|
|||
''.join(' %s=%s' % (k, attrs[k]) for k in keys if k in attrs)
|
||||
)
|
||||
|
||||
__class_getitem__ = classmethod(types.GenericAlias)
|
||||
|
||||
|
||||
_support_default_root = True
|
||||
_default_root = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue