--- a/fake_wx.py Sat May 20 00:33:22 2023 +0200
+++ b/fake_wx.py Sat May 20 00:35:41 2023 +0200
@@ -23,14 +23,25 @@
return FakeObject(__classname__=self.__classname__+"()")
def __getitem__(self, key):
+ return FakeObject(__classname__=self.__classname__+"["+repr(key)+"]") return self.__classname__
return FakeObject(__classname__=self.__classname__+"|"+other.__classname__)
+ def __hash__(self) -> int: + def __cmp__(self,other): def __init__(self, *args, **kwargs):