mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Fix tkinter.PhotoImage.put arguments (#13971)
* allow bytes * put to x1 y1 ?x2 y2? --------- Co-authored-by: Anton Pilipenko <anton.pilipenko@retechlabs.com>
This commit is contained in:
@@ -3736,6 +3736,7 @@ class PhotoImage(Image, _PhotoImageLike):
|
||||
self,
|
||||
data: (
|
||||
str
|
||||
| bytes
|
||||
| list[str]
|
||||
| list[list[str]]
|
||||
| list[tuple[str, ...]]
|
||||
@@ -3743,7 +3744,7 @@ class PhotoImage(Image, _PhotoImageLike):
|
||||
| tuple[list[str], ...]
|
||||
| tuple[tuple[str, ...], ...]
|
||||
),
|
||||
to: tuple[int, int] | None = None,
|
||||
to: tuple[int, int] | tuple[int, int, int, int] | None = None,
|
||||
) -> None: ...
|
||||
if sys.version_info >= (3, 13):
|
||||
def read(
|
||||
|
||||
Reference in New Issue
Block a user