summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.12.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index caf2107..efbd2ca 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -532,6 +532,17 @@ threading
profiling functions in all running threads in addition to the calling one.
(Contributed by Pablo Galindo in :gh:`93503`.)
+tkinter
+-------
+
+* ``tkinter.Canvas.coords()`` now flattens its arguments.
+ It now accepts not only coordinates as separate arguments
+ (``x1, y1, x2, y2, ...``) and a sequence of coordinates
+ (``[x1, y1, x2, y2, ...]``), but also coordinates grouped in pairs
+ (``(x1, y1), (x2, y2), ...`` and ``[(x1, y1), (x2, y2), ...]``),
+ like ``create_*()`` methods.
+ (Contributed by Serhiy Storchaka in :gh:`94473`.)
+
types
-----