Skip to content

Commit 02c3c48

Browse files
authored
Update 2026-02-08-17-09-10.gh-issue-144321.w58PhQ.rst
1 parent f8ab1d2 commit 02c3c48

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
Fix :class:`typing.NamedTuple` incorrectly
2-
inferring its fields when passing a generator.
1+
The functional syntax for creating :class:`typing.NamedTuple`
2+
classes now supports passing any :term:`iterable` of fields and types.
3+
Previously, only sequences were supported.

0 commit comments

Comments
 (0)