__slots__ should be a tuple

This commit is contained in:
Hugo 2017-11-28 15:40:25 +02:00
parent 371d4abf9c
commit 3a88e49766

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)