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 Ivan.Savov
Recipients Ivan.Savov, docs@python
Date 2021-10-18.22:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634597398.51.0.583956979541.issue45519@roundup.psfhosted.org>
In-reply-to
Content
Currently,

```
>>> help(list.__contains__)
```
returns
```
Help on wrapper_descriptor:
__contains__(self, key, /)
    Return key in self.
```

Which is a conceptual circular reference,
since `in` is implemented by `__contains__`.

Changing the help string to

"Return True if key in self."

would fix this.
History
Date User Action Args
2021-10-18 22:49:58Ivan.Savovsetrecipients: + Ivan.Savov, docs@python
2021-10-18 22:49:58Ivan.Savovsetmessageid: <1634597398.51.0.583956979541.issue45519@roundup.psfhosted.org>
2021-10-18 22:49:58Ivan.Savovlinkissue45519 messages
2021-10-18 22:49:58Ivan.Savovcreate