pkgsrc/devel/py-simplegeneric/DESCR
markd 44e2b0fa0b Add py-simplegeneric 0.8.1
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
2017-04-23 03:43:15 +00:00

6 lines
363 B
Text

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