]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-94473: Flatten arguments in tkinter.Canvas.coords() (GH-98479)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 22 May 2023 08:54:41 +0000 (11:54 +0300)
committerGitHub <noreply@github.com>
Mon, 22 May 2023 08:54:41 +0000 (11:54 +0300)
commit9bc80dac47f6d43d0bbfbf10c4cc3848b175e97f
tree880c0b929091cb922c9f864b7a58b0e4ac90838a
parent6fba0314765d7c58a33e9859d9cd5bcc35d2fd0a
gh-94473: Flatten arguments in tkinter.Canvas.coords() (GH-98479)

It now accepts not only "x1, y1, x2, y2, ..." and "[x1, y1, x2, y2, ...]",
but also "(x1, y1), (x2, y2), ..." and "[(x1, y1), (x2, y2), ...]".
Doc/whatsnew/3.12.rst
Lib/test/test_tkinter/test_widgets.py
Lib/tkinter/__init__.py
Misc/NEWS.d/next/Library/2022-10-20-14-03-58.gh-issue-94473.pzGX73.rst [new file with mode: 0644]