mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Changed: argument type for xPos and yPos in tkinter to accept numbers (#5334)
This commit is contained in:
@@ -1288,7 +1288,9 @@ class Canvas(Widget, XView, YView):
|
||||
lower: Any
|
||||
def move(self, *args): ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def moveto(self, tagOrId: Union[str, _CanvasItemId], x: str = ..., y: str = ...) -> None: ...
|
||||
def moveto(
|
||||
self, tagOrId: Union[str, _CanvasItemId], x: Union[Literal[""], float] = ..., y: Union[Literal[""], float] = ...
|
||||
) -> None: ...
|
||||
def postscript(self, cnf=..., **kw): ...
|
||||
def tag_raise(self, *args): ...
|
||||
lift: Any
|
||||
|
||||
Reference in New Issue
Block a user