From 3a88e49766a7b627e74c530ec3c4c46af43d5dbe Mon Sep 17 00:00:00 2001 From: Hugo Date: Tue, 28 Nov 2017 15:40:25 +0200 Subject: [PATCH] __slots__ should be a tuple --- lib/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/extras.py b/lib/extras.py index 362360cf..3308f78f 100644 --- a/lib/extras.py +++ b/lib/extras.py @@ -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)