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
I believe this is expected. Dot notation (.name) on namedtuples is just a syntactic trick desugarized by the compiler to a method call (here .apply(0)).
Is your feature request related to a problem? Please describe.
Elements of a
NamedTuple
do not appear in the suggested members/methods dropdown.Describe the solution you'd like
The elements of a
NamedTuple
should be suggested for autocompletion just like the members of a class or the elements of a regular tuple (_1
,_2
...)For example:
both
integer
andstring
should be suggested when writingnt.
Describe alternatives you've considered
n/a
Additional context
No response
Search terms
namedtuple
The text was updated successfully, but these errors were encountered: