__slots__ should be a tuple

This commit is contained in:
Hugo 2017-11-28 15:40:25 +02:00 committed by Daniele Varrazzo
parent 7282ef0d14
commit 08b479bc10

View File

@ -264,7 +264,7 @@ class RealDictCursor(DictCursorBase):
class RealDictRow(dict):
"""A `!dict` subclass representing a data record."""
__slots__ = ('_column_mapping')
__slots__ = ('_column_mapping',)
def __init__(self, cursor):
dict.__init__(self)