We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
NamedTuple
1 parent fd9439e commit c323af9Copy full SHA for c323af9
Doc/library/typing.rst
@@ -2369,7 +2369,7 @@ These functions and classes should not be used directly as annotations.
2369
Their intended purpose is to be building blocks for creating and declaring
2370
types.
2371
2372
-.. class:: NamedTuple
+.. function:: NamedTuple
2373
2374
Typed version of :func:`collections.namedtuple`.
2375
0 commit comments