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, pablogsal
Date 2021-04-23.03:30:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619148606.41.0.129428714687.issue43918@roundup.psfhosted.org>
In-reply-to
Content
The new builtin `anext` does not have a signature (from `inspect.signature(anext)`).  This is expected, because `inspect` does not yet support signatures with C NULL default value.  However, `anext` also doesn't have text in its docstring that describes its signature as is typical for builtins.  This means `help(anext)` in the Python REPL gives no indication how to call the function.  It should.

This is clearly an oversight.  See comment here: https://github.com/python/cpython/pull/23847#commitcomment-45318696

Also, the "default" argument is not described in the docstring.

Related issue: https://bugs.python.org/issue31861

(PR forthcoming)
History
Date User Action Args
2021-04-23 03:30:06eriknwsetrecipients: + eriknw, pablogsal
2021-04-23 03:30:06eriknwsetmessageid: <1619148606.41.0.129428714687.issue43918@roundup.psfhosted.org>
2021-04-23 03:30:06eriknwlinkissue43918 messages
2021-04-23 03:30:05eriknwcreate