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: <[email protected]> |
| 2017-01-23 10:26:05 | serhiy.storchaka | link | issue29350 messages |
| 2017-01-23 10:26:05 | serhiy.storchaka | create | |
|