ports/devel/py-simplegeneric/pkg/DESCR

7 lines
365 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
The simplegeneric module lets you define simple single-dispatch generic
functions, akin to Python's built-in generic functions like len(),
iter() and so on. However, instead of using specially-named methods,
these generic functions use simple lookup tables, akin to those used by
e.g. pickle.dump() and other generic functions found in the Python
standard library.