appease pylint
This commit is contained in:
parent
fe37448440
commit
c2891b26c7
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue