PyDocs

Nav

Functional Programming Modules

singledispatch.register

To add overloaded implementations to the function, use the register() attribute of the generic function, which can be used as a decorator. For functions annotated with types, the decorator will infer the type of the first argument automatically:
0 Examples
No examples for functools/singledispatch.register.
See Also
No see-alsos for functools/singledispatch.register
0 Notes
No notes for singledispatch.register