pkgutil.simplegeneric()

pkgutil.simplegeneric(func)[source]

Make a trivial single-dispatch generic function