core (memory/persistent): implement __repr__ (via __str__)
This commit is contained in:
parent
0c3910bafd
commit
5cf43b2e2e
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ class LazyPersistentBinaryDict(PersistentBinaryDict):
|
||||||
return self.storage.getPrivates(self.namespace, binary=self.binary, profile=self.profile)
|
return self.storage.getPrivates(self.namespace, binary=self.binary, profile=self.profile)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
raise NotImplementedError
|
return self.__str__()
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return "LazyPersistentBinaryDict (namespace: {})".format(self.namespace)
|
return "LazyPersistentBinaryDict (namespace: {})".format(self.namespace)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue