mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-11-22 06:57:36 +08:00
[tkinter.ttk] Added type annotations for Style, fix some other incomplete parts (#14348)
This commit is contained in:
1 parent
4fa56fbc23
commit
c7b28cafb0
6 files changed
+165
-15
No files matched your search
@@ -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