Message286068
Some functions can be described by the single signature. See examples in msg285647. Selected examples:
dict.pop(key)
dict.pop(key, default)
type(obj)
type(name, bases, mapping)
range(stop)
range(start, stop, step=1)
min(iterable, *, key=identity)
min(iterable, *, default, key=identity)
min(*args, key=identity)
I think the only way to resolve this problem is to add the support of multiple signatures in inspect, pydoc, Argument Clinic, etc. |
|
Date |
User |
Action |
Args |
2017-01-23 10:26:05 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, larry, yselivanov |
2017-01-23 10:26:05 | serhiy.storchaka | set | messageid: <1485167165.19.0.665694725089.issue29350@psf.upfronthosting.co.za> |
2017-01-23 10:26:05 | serhiy.storchaka | link | issue29350 messages |
2017-01-23 10:26:05 | serhiy.storchaka | create | |
|