Comment Comment by progval > which is the only(?) function in the language that has an optional parameter before a required one.The documentation shows it as being overloaded, rather than having default arguments: range(stop) -> range object range(start, stop[, step]) -> range object There's iter which is overloaded: iter(iterable) -> iterator iter(callable, sentinel) -> iterator parent progval 6 years ago
The documentation shows it as being overloaded, rather than having default arguments:
There's iter which is overloaded: