[issue47007] [doc] str docs are inconsistent with special method lookup

2022-04-04 Thread miss-islington
miss-islington added the comment: New changeset c0063bdc7b5fed98c6799f3da0a954a775e3d89e by Miss Islington (bot) in branch '3.9': bpo-47007: [doc] `str` special method lookup (GH-31863) https://github.com/python/cpython/commit/c0063bdc7b5fed98c6799f3da0a954a775e3d89e -- ___

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-04-04 Thread miss-islington
miss-islington added the comment: New changeset f502dadb332f911fa3b6c531bbc5065795cca242 by Miss Islington (bot) in branch '3.10': bpo-47007: [doc] `str` special method lookup (GH-31863) https://github.com/python/cpython/commit/f502dadb332f911fa3b6c531bbc5065795cca242 -- __

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-04-04 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Thanks for the report and fix! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-04-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +30380 pull_request: https://github.com/python/cpython/pull/32319 ___ Python tracker ___ __

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-04-04 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset bb86d1d9fbd1888524e04475383f4ea764277f67 by Vanshaj Singhania in branch 'main': bpo-47007: [doc] `str` special method lookup (GH-31863) https://github.com/python/cpython/commit/bb86d1d9fbd1888524e04475383f4ea764277f67 -- nosy: +JelleZi

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-04-04 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +30379 pull_request: https://github.com/python/cpython/pull/32318 ___ Python tracker _

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-14 Thread Vedran Čačić
Vedran Čačić added the comment: You mean `type(object).__str__(object)` instead of `type(object).__str__()`, obviously. -- nosy: +veky ___ Python tracker ___ _

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-13 Thread Vanshaj Singhania
Change by Vanshaj Singhania : -- keywords: +patch pull_requests: +29961 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31863 ___ Python tracker __

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue47007] [doc] str docs are inconsistent with special method lookup

2022-03-13 Thread Vanshaj Singhania
New submission from Vanshaj Singhania : The documentation for the `str` class[^1] says: > If neither encoding nor errors is given, str(object) returns object.__str__() This led our students[^2] to try the following code: >>> class Test: ... def __str__(self): ... return