]> code.communitydata.science - rises_declines_wikia_code.git/blob - mediawiki_dump_tools/Mediawiki-Utilities/mw/database/collections/collection.py
add copy of the GPL
[rises_declines_wikia_code.git] / mediawiki_dump_tools / Mediawiki-Utilities / mw / database / collections / collection.py
1 class Collection:
2     DIRECTIONS = {'newer', 'older'}
3
4     def __init__(self, db):
5         self.db = db
6
7     def __str__(self):
8         return self.__repr__()
9
10     def __repr__(self):
11         return "{0}({1})".format(self.__class__.__name__, repr(self.db))

Community Data Science Collective || Want to submit a patch?