Message340851
| Author | brett.cannon |
|---|---|
| Recipients | Michal Kononenko, brett.cannon, docs@python |
| Date | 2019-04-25.17:53:14 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1556214794.29.0.248846716456.issue36720@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
There is probably validation code in len(), but the method itself can do whatever it wants if you call it directly. So the documentation is accurate in saying the method _should_ return >= 0 but that there's nothing strictly enforcing that in Python for that specific method when defined and called directly. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-04-25 17:53:14 | brett.cannon | set | recipients: + brett.cannon, docs@python, Michal Kononenko |
| 2019-04-25 17:53:14 | brett.cannon | set | messageid: <1556214794.29.0.248846716456.issue36720@roundup.psfhosted.org> |
| 2019-04-25 17:53:14 | brett.cannon | link | issue36720 messages |
| 2019-04-25 17:53:14 | brett.cannon | create | |