speedup in getattr, thanks Michele
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.07.03.17.15.42
|
||||
Version 2.6.0-development+timestamp.2013.07.05.02.12.46
|
||||
|
||||
+1
-1
@@ -6870,7 +6870,7 @@ class Row(object):
|
||||
def __getitem__(self, k):
|
||||
key=str(k)
|
||||
_extra = self.__dict__.get('_extra', None)
|
||||
if _extra:
|
||||
if _extra is not None:
|
||||
v = _extra.get(key, None)
|
||||
if v:
|
||||
return v
|
||||
|
||||
Reference in New Issue
Block a user