Issue 10168: tkinter.Canvas.coords should return a list, not a map (original) (raw)

Issue10168

Created on 2010-10-21 16:44 by belopolsky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
canvas-coords.diff belopolsky,2010-10-21 16:44
Messages (1)
msg119316 - (view) Author: Alexander Belopolsky (belopolsky) * (Python committer) Date: 2010-10-21 16:44
Apparently a 2.x to 3.x migration artifact. Canvas.coords() is documented as returning a list: def coords(self, *args): """Return a list of coordinates for the item given in ARGS.""" but in 3.x it returns a map object. Attached patch fixes that.
History
Date User Action Args
2022-04-11 14:57:07 admin set github: 54377
2010-10-21 17:30:58 eric.araujo set status: open -> closedresolution: duplicatesuperseder: changed return type from tkinter.Canvas.coordsstage: test needed -> resolved
2010-10-21 16:44:27 belopolsky create