Issue 39112: Misleading documentation for tuple
Created on 2019-12-21 01:28 by sberens, last changed 2022-04-11 14:59 by admin. This issue is now closed.
Messages (4)
msg358753 - (view)
Author: Simon Berens (sberens)
Date: 2019-12-21 01:28
Date: 2019-12-23 12:09
Date: 2019-12-28 07:21
Date: 2019-12-28 08:09
Sorry if this is a silly question (my first bug report), but it seems that https://docs.python.org/3/library/functions.html#func-tuple should say "class tuple" instead of just "tuple", as list, dict, and set do.msg358809 - (view) Author: Karthikeyan Singaravelan (xtreak) *
Date: 2019-12-23 12:09
FWIW, built-in types page has the class prefix : https://docs.python.org/3/library/stdtypes.html#tuple . Similar difference between range in the two pages.msg358932 - (view) Author: Terry J. Reedy (terry.reedy) *
Date: 2019-12-28 07:21
I believe that this is a duplicate issue. As noted before, filter, map, reversed, and zip are classes, but they return iterators and are documented differently.msg358933 - (view) Author: Karthikeyan Singaravelan (xtreak) *
Date: 2019-12-28 08:09
Thanks Terry, I guess it's a duplicate of issue34118 .
History
Date
User
Action
Args
2022-04-11 14:59:24adminsetgithub: 83293
2019-12-28 22:05:03terry.reedysetstatus: open -> closed
superseder: Fix some class entries in 'Built-in Functions'
resolution: duplicate
stage: resolved 2019-12-28 08:09:54xtreaksetmessages: + msg358933 2019-12-28 07:21:22terry.reedysetnosy: + terry.reedy
messages: + msg358809
2019-12-21 01:28:19sberenscreate
superseder: Fix some class entries in 'Built-in Functions'
resolution: duplicate
stage: resolved 2019-12-28 08:09:54xtreaksetmessages: + msg358933 2019-12-28 07:21:22terry.reedysetnosy: + terry.reedy
messages:
+ msg358932
versions:
- Python 3.5, Python 3.6
messages: + msg358809
2019-12-21 01:28:19sberenscreate