Pamhyr2: Minor change and method documentation.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-04-22 16:29:23 +02:00
1 parent 145c301eed
commit acbd3537c0
4 files changed
+78 -29

No files matched your search

+1 -1
View File
@@ -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):