Fix TableList repr

This commit is contained in:
Vinayak Mehta
2018-09-27 04:42:23 +05:30
parent 00b7b2aeba
commit dfb0d4fb4c
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -438,8 +438,8 @@ class TableList(object):
self._tables = tables
def __repr__(self):
return '<{} tables={}>'.format(
self.__class__.__name__, len(self._tables))
return '<{} n={}>'.format(
self.__class__.__name__, self.n)
def __len__(self):
return len(self._tables)