Sep-07-2020, 03:34 AM
Also, if you want to dispatch to a function based on type of argument, there's
singledispatch
in the functools
module: https://docs.python.org/3/library/functo...ledispatch