You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The short form of collections.namedtuple is very popular (ask @rhettinger) and I think we should make it as easy as possible to translate its use to typing.NamedTuple. So I think we should support it.
Python 3.7 adds support for specifying default values in call to
collections.namedtuple
, see python/cpython#4859. So for example this is valid:Should we support this, or supporting default values for
typing.NamedTuple
(already implemented) is enough?The text was updated successfully, but these errors were encountered: