mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-31 21:20:23 +08:00
[tkinter.ttk] Added type annotations for Style, fix some other incomplete parts (#14348)
This commit is contained in:
@@ -25,6 +25,9 @@ posixpath.join
|
||||
ntpath.join
|
||||
os.path.join
|
||||
|
||||
# this is implemented with *args having a minimum size so arguments before it must be positional (but stubtest doesn't see that)
|
||||
tkinter.ttk.Style.element_create
|
||||
|
||||
# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
|
||||
# to mark these as positional-only for compatibility with existing sub-classes.
|
||||
typing(_extensions)?\.BinaryIO\.write
|
||||
|
||||
@@ -45,6 +45,9 @@ posixpath.join
|
||||
ntpath.join
|
||||
os.path.join
|
||||
|
||||
# this is implemented with *args having a minimum size so arguments before it must be positional (but stubtest doesn't see that)
|
||||
tkinter.ttk.Style.element_create
|
||||
|
||||
# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
|
||||
# to mark these as positional-only for compatibility with existing sub-classes.
|
||||
typing(_extensions)?\.BinaryIO\.write
|
||||
|
||||
@@ -62,6 +62,9 @@ posixpath.join
|
||||
ntpath.join
|
||||
os.path.join
|
||||
|
||||
# this is implemented with *args having a minimum size so arguments before it must be positional (but stubtest doesn't see that)
|
||||
tkinter.ttk.Style.element_create
|
||||
|
||||
# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
|
||||
# to mark these as positional-only for compatibility with existing sub-classes.
|
||||
typing(_extensions)?\.BinaryIO\.write
|
||||
|
||||
@@ -62,6 +62,9 @@ posixpath.join
|
||||
ntpath.join
|
||||
os.path.join
|
||||
|
||||
# this is implemented with *args having a minimum size so arguments before it must be positional (but stubtest doesn't see that)
|
||||
tkinter.ttk.Style.element_create
|
||||
|
||||
# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
|
||||
# to mark these as positional-only for compatibility with existing sub-classes.
|
||||
typing(_extensions)?\.BinaryIO\.write
|
||||
|
||||
@@ -84,6 +84,9 @@ posixpath.join
|
||||
ntpath.join
|
||||
os.path.join
|
||||
|
||||
# this is implemented with *args having a minimum size so arguments before it must be positional (but stubtest doesn't see that)
|
||||
tkinter.ttk.Style.element_create
|
||||
|
||||
# typing.IO uses positional-or-keyword arguments, but in the stubs we prefer
|
||||
# to mark these as positional-only for compatibility with existing sub-classes.
|
||||
typing(_extensions)?\.BinaryIO\.write
|
||||
|
||||
Reference in New Issue
Block a user