mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Pamhyr2: Minor change and method documentation.
This commit is contained in:
1 parent
145c301eed
commit
acbd3537c0
4 files changed
+78
-29
No files matched your search
@@ -56,7 +56,7 @@ class PamhyrModelDict(SQLSubModel):
|
||||
def __len__(self):
|
||||
return len(self._dict)
|
||||
|
||||
def is_defined(self, key):
|
||||
def __contains__(self, key):
|
||||
return key in self._dict
|
||||
|
||||
def set(self, key, new):
|
||||
|
||||
Reference in new issue
Block a user