This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients larry, rhettinger, serhiy.storchaka, yselivanov
Date 2017-01-23.10:26:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485167165.19.0.665694725089.issue29350@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-23 10:26:05serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, larry, yselivanov
2017-01-23 10:26:05serhiy.storchakasetmessageid: <1485167165.19.0.665694725089.issue29350@psf.upfronthosting.co.za>
2017-01-23 10:26:05serhiy.storchakalinkissue29350 messages
2017-01-23 10:26:05serhiy.storchakacreate