Message403302
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. |
|
Date |
User |
Action |
Args |
2021-10-06 13:54:59 | mark.dickinson | set | recipients:
+ mark.dickinson |
2021-10-06 13:54:59 | mark.dickinson | set | messageid: <1633528499.41.0.143485330537.issue45392@roundup.psfhosted.org> |
2021-10-06 13:54:59 | mark.dickinson | link | issue45392 messages |
2021-10-06 13:54:59 | mark.dickinson | create | |
|