]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Update the seealso entries for namedtuple() (GH-12373)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 16 Mar 2019 20:01:35 +0000 (13:01 -0700)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2019 20:01:35 +0000 (13:01 -0700)
commit68e0ed6a90c9553bf8ef0cfc61d35a30e408cc2f
tree793dca0051c6e74535937b9bdbab3c825046e3f6
parente213cd6325f2d6f116b6c3dce109cdf21f6263d5
Update the seealso entries for namedtuple() (GH-12373)

* Replace external recipe link with a link to the dataclasses module.

* Highlight the class definition syntax for typing.NamedTuple
  and add an example for clarity.
(cherry picked from commit 9c68543f022b130ff51944edc6771c60510ee683)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Doc/library/collections.rst
Doc/library/typing.rst