appease pylint

This commit is contained in:
Chris Jones 2009-08-11 23:23:34 +01:00
parent fe37448440
commit c2891b26c7
1 changed files with 4 additions and 1 deletions

View File

@ -4,8 +4,11 @@
"""borg.py - We are the borg. Resistance is futile. """borg.py - We are the borg. Resistance is futile.
http://code.activestate.com/recipes/66531/""" http://code.activestate.com/recipes/66531/"""
# pylint: disable-msg=R0903
class Borg: class Borg:
"""Definition of a class that can never be duplicated"""
__shared_state = {} __shared_state = {}
def __init__(self): def __init__(self):
self.__dict__ = self.__shared_state self.__dict__ = self.__shared_state
# vim: set expandtab ts=4 sw=4: