shorter __repr__ can fit on one line

This commit is contained in:
Martin A. Brown 2016-02-17 08:35:53 -08:00
parent c1ccc544a3
commit c99dbefa92
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ from .typeguesser import guess, knownextensions
class SourceCollection(collections.MutableMapping):
def __repr__(self):
return '<%s:(%s docs)>' % \
(self.__class__.__name__, len(self))
return '<%s:(%s docs)>' % (self.__class__.__name__, len(self))
def __init__(self, args=None):
if args is None: