Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-38096: Clean up the "struct sequence" / "named tuple" docs #15895
Conversation
rhettinger
added
type-documentation
skip news
needs backport to 3.7
needs backport to 3.8
labels
Sep 11, 2019
rhettinger
requested a review
from tim-one
Sep 11, 2019
the-knights-who-say-ni
added
the
CLA signed
label
Sep 11, 2019
bedevere-bot
added
the
awaiting core review
label
Sep 11, 2019
pganssle
self-requested a review
Sep 11, 2019
bedevere-bot
added
awaiting merge
and removed
awaiting core review
labels
Sep 11, 2019
pganssle
merged commit 7117074
into
python:master
Sep 11, 2019
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Sep 11, 2019
|
Thanks @rhettinger for the PR, and @pganssle for merging it |
bedevere-bot
removed
the
awaiting merge
label
Sep 11, 2019
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Sep 11, 2019
|
Sorry, @rhettinger and @pganssle, I could not cleanly backport this to |
miss-islington
assigned
pganssle
Sep 11, 2019
This comment has been minimized.
This comment has been minimized.
miss-islington
commented
Sep 11, 2019
|
Sorry @rhettinger and @pganssle, I had trouble checking out the |
bedevere-bot
removed
the
needs backport to 3.8
label
Sep 11, 2019
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Sep 11, 2019
|
GH-15961 is a backport of this pull request to the 3.8 branch. |
This comment has been minimized.
This comment has been minimized.
bedevere-bot
commented
Sep 11, 2019
|
GH-15962 is a backport of this pull request to the 3.7 branch. |
bedevere-bot
removed
the
needs backport to 3.7
label
Sep 11, 2019
|
Looks great! Thank you. Some comments:
|
| Some named tuples are built-in types (such as the above examples). | ||
| Alternatively, a named tuple can be created from a regular class | ||
| definition that inherits from :class:`tuple` and that defines named | ||
| fields. Such as class can be written by hand or it can be created with |
rhettinger commentedSep 11, 2019
•
edited by bedevere-bot
https://bugs.python.org/issue38096