File tree Expand file tree Collapse file tree 4 files changed +8
-6
lines changed
Expand file tree Collapse file tree 4 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -2389,8 +2389,8 @@ types.
23892389 disallowed in Python 3.15. To create a NamedTuple class with 0 fields,
23902390 use ``class NT(NamedTuple): pass `` or ``NT = NamedTuple("NT", []) ``.
23912391
2392- .. versionchanged :: 3.13
2393- Added support of multiple inheritence .
2392+ .. versionchanged :: 3.14
2393+ Added support for arbitrary multiple inheritance .
23942394
23952395.. class :: NewType(name, tp)
23962396
Original file line number Diff line number Diff line change @@ -1397,9 +1397,6 @@ typing
13971397 (Contributed by Mehdi Drissi in :gh: `89547 `.)
13981398
13991399
1400- * Add support of multiple inheritance with :class: `~typing.NamedTuple `.
1401- (Contributed by Serhiy Storchaka in :gh: `116241 `.)
1402-
14031400unicodedata
14041401-----------
14051402
Original file line number Diff line number Diff line change @@ -574,6 +574,11 @@ typing
574574* Remove :class: `!typing.ByteString `. It had previously raised a
575575 :exc: `DeprecationWarning ` since Python 3.12.
576576
577+ * Add support of multiple inheritance with :class: `~typing.NamedTuple `.
578+ Previously, multiple inheritance was only supported if there was exactly
579+ one other base and the base was :class: `typing.Generic `.
580+ (Contributed by Serhiy Storchaka in :gh: `116241 `.)
581+
577582urllib
578583------
579584
Original file line number Diff line number Diff line change 1- Add support of multiple inheritance with :class: `typing.NamedTuple `.
1+ Add support for arbitrary multiple inheritance with :class: `typing.NamedTuple `.
You can’t perform that action at this time.
0 commit comments