[issue46732] Builtin __bool__ docstrings are wrong

2022-02-21 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue46732] Builtin __bool__ docstrings are wrong

2022-02-21 Thread miss-islington
miss-islington added the comment: New changeset 8eb18d842c37c37c1f9316c7e171aad36e875b9a by Miss Islington (bot) in branch '3.9': [3.9] bpo-46732: fix __bool__ docstring (GH-31301) (GH-31474) https://github.com/python/cpython/commit/8eb18d842c37c37c1f9316c7e171aad36e875b9a -- _

[issue46732] Builtin __bool__ docstrings are wrong

2022-02-21 Thread miss-islington
miss-islington added the comment: New changeset c596ecbf821843de0e044f0d4da34c6b49a06907 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46732: fix __bool__ docstring (GH-31301) (GH-31473) https://github.com/python/cpython/commit/c596ecbf821843de0e044f0d4da34c6b49a06907 -- ___

[issue46732] Builtin __bool__ docstrings are wrong

2022-02-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +29605 pull_request: https://github.com/python/cpython/pull/31474 ___ Python tracker ___ __

[issue46732] Builtin __bool__ docstrings are wrong

2022-02-21 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +29604 pull_request: https://github.com/python/cpython/pull/31473 ___ Python tracker _

[issue46732] Builtin __bool__ docstrings are wrong

2022-02-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: For whatever reason, all builtins with a __bool__ method appear to share the same docstring. For example, >>> range.__bool__.__doc__ 'self != 0' >>> bool(range(0)) False >>> bool(range(1)) True The concrete collection classes have their lengths stored inter