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 mark.dickinson
Recipients mark.dickinson
Date 2021-10-06.13:54:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633528499.41.0.143485330537.issue45392@roundup.psfhosted.org>
In-reply-to
Content
The docstring of the "type" builtin is mildly confusing. Here's what the first few lines of the output for `help(type)` look like for me (on Python 3.10.0rc2):

class type(object)
 |  type(object_or_name, bases, dict)
 |  type(object) -> the object's type
 |  type(name, bases, dict) -> a new type

The first line there seems redundant, and potentially misleading, since it suggests that `type(object, bases, dict)` might be legal.

The third line is missing mention of possible keyword arguments.
History
Date User Action Args
2021-10-06 13:54:59mark.dickinsonsetrecipients: + mark.dickinson
2021-10-06 13:54:59mark.dickinsonsetmessageid: <1633528499.41.0.143485330537.issue45392@roundup.psfhosted.org>
2021-10-06 13:54:59mark.dickinsonlinkissue45392 messages
2021-10-06 13:54:59mark.dickinsoncreate