Merge pull request #883 from BuhtigithuB/pep8-storage-py
Improve PEP8 gluon/storage.py
This commit is contained in:
commit
f9c755bc18
1 file changed
+2
@@ -24,6 +24,7 @@ __all__ = ['List', 'Storage', 'Settings', 'Messages',
|
|||||||
|
|
||||||
DEFAULT = lambda: 0
|
DEFAULT = lambda: 0
|
||||||
|
|
||||||
|
|
||||||
class Storage(dict):
|
class Storage(dict):
|
||||||
"""
|
"""
|
||||||
A Storage object is like a dictionary except `obj.foo` can be used
|
A Storage object is like a dictionary except `obj.foo` can be used
|
||||||
@@ -199,6 +200,7 @@ class Messages(Settings):
|
|||||||
return self.T(value)
|
return self.T(value)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
class FastStorage(dict):
|
class FastStorage(dict):
|
||||||
"""
|
"""
|
||||||
Eventually this should replace class Storage but causes memory leak
|
Eventually this should replace class Storage but causes memory leak
|
||||||
|
|||||||
Reference in new issue
Block a user