[New-bugs-announce] [issue29350] Add support of multiple signatures
Serhiy Storchaka
report at bugs.python.org
Mon Jan 23 05:26:05 EST 2017
New submission from Serhiy Storchaka:
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.
----------
components: Library (Lib)
messages: 286068
nosy: larry, rhettinger, serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: Add support of multiple signatures
type: enhancement
versions: Python 3.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29350>
_______________________________________
More information about the New-bugs-announce
mailing list