From 5eef583d7c630d5378e248a18e12faee0186c989 Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Mon, 22 Aug 2022 20:47:55 +0200 Subject: [PATCH] Fix docstring layout for ColumnSorterMixin.GetSortState() --- wx/lib/mixins/listctrl.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/wx/lib/mixins/listctrl.py b/wx/lib/mixins/listctrl.py index c123e68e..a74295ea 100644 --- a/wx/lib/mixins/listctrl.py +++ b/wx/lib/mixins/listctrl.py @@ -144,10 +144,12 @@ class ColumnSorterMixin: """ Return a tuple containing the index of the column that was last sorted and the sort direction of that column. - Usage: - col, ascending = self.GetSortState() - # Make changes to list items... then resort - self.SortListItems(col, ascending) + + Usage:: + + col, ascending = self.GetSortState() + # Make changes to list items... then resort + self.SortListItems(col, ascending) """ return (self._col, self._colSortFlag[self._col])