5 ms·
Python has idiomatic ways of implementing something like overloading. - Default parameters, so variable numbers of arguments can be passed. - Run-time type ide
by josh_fyi 7y ago
Python has idiomatic ways of implementing something like overloading.
- Default parameters, so variable numbers of arguments can be passed.
- Run-time type identification. Though not generally recommended, you can use it for slightly different implementations for different argument types.
- deleted 7y ago[deleted]