technotechbloggie9 / safedispatch_py Goto Github PK
View Code? Open in Web Editor NEWThis is an improvement upon the common dispatch pattern as implemented in python. The purpose is to prevent key-errors (not to catch them). A full understanding isn't needed of dispatch pattern, just that functions are stuffed into dictionaries with a key (usually a string, or other unmutable type) to call them.
License: BSD 3-Clause "New" or "Revised" License