Commit df3384f
authored
Also check the existence of _fields in addition to__annotations__ for NamedTuple. (#36337)
* Check the existence of _fields instead of __annotations__ for NamedTuple.
* Still need to check the existence of __annotations__.
* Format the changes1 parent 3534960 commit df3384f
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
167 | | - | |
| 167 | + | |
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| |||
0 commit comments