diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-03-16 19:53:23 (GMT) |
---|---|---|
committer | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-03-16 19:53:23 (GMT) |
commit | 9c68543f022b130ff51944edc6771c60510ee683 (patch) | |
tree | 50807bcfdc28d395377346a4139670b07609df92 /Doc/library/typing.rst | |
parent | 5927cfdf3a657384dd7632938759a3ac096db7e3 (diff) | |
download | cpython-9c68543f022b130ff51944edc6771c60510ee683.zip cpython-9c68543f022b130ff51944edc6771c60510ee683.tar.gz cpython-9c68543f022b130ff51944edc6771c60510ee683.tar.bz2 |
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.
Diffstat (limited to 'Doc/library/typing.rst')
-rw-r--r-- | Doc/library/typing.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 6ed09f1..de03284 100644 --- a/Doc/library/typing.rst +++ b/Doc/library/typing.rst @@ -815,7 +815,7 @@ The module defines the following classes, functions and decorators: .. class:: NamedTuple - Typed version of namedtuple. + Typed version of :func:`collections.namedtuple`. Usage:: |