homepage

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 eriknw
Recipients eriknw
Date 2016年04月10日.17:54:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460310880.55.0.462687598027.issue26729@psf.upfronthosting.co.za>
In-reply-to
Content
The first argument to sorted is positional-only, so the text signature should be:
sorted($module, iterable, /, key=None, reverse=False)
instead of
sorted($module, iterable, key=None, reverse=False)
To reproduce the issue, attempt to use "iterable" as a keyword argument:
>>> import inspect
>>> sig = inspect.signature(sorted)
>>> sig.bind(iterable=[]) # should raise, but doesn't
>>> sorted(iterable=[]) # raises TypeError
History
Date User Action Args
2016年04月10日 17:54:40eriknwsetrecipients: + eriknw
2016年04月10日 17:54:40eriknwsetmessageid: <1460310880.55.0.462687598027.issue26729@psf.upfronthosting.co.za>
2016年04月10日 17:54:40eriknwlinkissue26729 messages
2016年04月10日 17:54:40eriknwcreate

AltStyle によって変換されたページ (->オリジナル) /