X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/365271b573e3d0ab7512471358f98a589f18c104..4976f9967a2dd37dc501e187d7b13a1e6ca22966:/wxPython/src/gtk/grid.py?ds=inline diff --git a/wxPython/src/gtk/grid.py b/wxPython/src/gtk/grid.py index 4c0838bf04..2c4c942c79 100644 --- a/wxPython/src/gtk/grid.py +++ b/wxPython/src/gtk/grid.py @@ -1137,7 +1137,7 @@ class GridCellCoords(object): def __str__(self): return str(self.Get()) def __repr__(self): return 'wxGridCellCoords'+str(self.Get()) def __len__(self): return len(self.Get()) - def __getitem__(self, index): return self.asTuple()[index] + def __getitem__(self, index): return self.Get()[index] def __setitem__(self, index, val): if index == 0: self.SetRow(val) elif index == 1: self.SetCol(val)