Commit d36eec1
Better tuple handling
Summary: We can't auto-slotify tuples and `_pytree` includes a direct subclass of `tuple`. We apply the same handling to tuples that we currently apply to named tuples.
Reviewed By: martindemello
Differential Revision: D96958742
fbshipit-source-id: 2b73528ab35cd7df5c1e174b20184726e8cfd5261 parent 4f9acc0 commit d36eec1
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
| 318 | + | |
318 | 319 | | |
319 | 320 | | |
320 | 321 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
142 | | - | |
| 142 | + | |
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| |||
0 commit comments