Join Nostr
2024-11-12 15:01:59 UTC

Al Sweigart on Nostr: Python question: I am writing MyLibrary which has a container MyClass. Should the ...

Python question: I am writing MyLibrary which has a container MyClass. Should the __getitem__() method for MyClass raise KeyError or my own custom MyLibraryKeyError?