(self, column)
| 2037 | return len([True for c in self if c == column]) |
| 2038 | |
| 2039 | def index(self, column): |
| 2040 | if isinstance(column, DatasheetColumn) and column._datasheet == self._datasheet: |
| 2041 | return column._j |
| 2042 | return list(self).index(column) |
| 2043 | |
| 2044 | def sort(self, cmp=None, key=None, reverse=False, order=None): |
| 2045 | # This makes most sense if the order in which columns should appear is supplied. |