Skip to content
Snippets Groups Projects

MAINT: refactor _Messages class

Merged Henrik tom Wörden requested to merge f-messages into dev
1 file
+ 1
0
Compare changes
  • Side-by-side
  • Inline
@@ -2580,6 +2580,7 @@ class Messages(list):
@@ -2580,6 +2580,7 @@ class Messages(list):
super().append(msg)
super().append(msg)
 
@staticmethod
def _hash(t, c):
def _hash(t, c):
return hash(str(t).lower() + (str(",") + str(c) if c is not None else ''))
return hash(str(t).lower() + (str(",") + str(c) if c is not None else ''))
# end remove
# end remove
Loading