Hm! What does pythonic mean, then?
I do not know all built-in functions and modules. Perhaps there is a better way. As R. Hettinger says. I didn't read the previous posts very well. @Gribouillis mentioned it - from the functools module singledispatch.
I do not know all built-in functions and modules. Perhaps there is a better way. As R. Hettinger says. I didn't read the previous posts very well. @Gribouillis mentioned it - from the functools module singledispatch.