Commit 38ca2d3
Fixed mypy errors by setting
The `__slots__` are redundant, since they duplicate the members we already have. Also, they cause problems with mypy: #21691
We have to leave an empty `__slots__ = ()` in place, as opposed to removing it entirely, because that's the only way to ensure that pytype will continue to error out if an unknown member is read or written.
PiperOrigin-RevId: 795107868__slots__ to empty in .pyi files.1 parent d2d2115 commit 38ca2d3
1 file changed
+1
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | | - | |
448 | | - | |
449 | | - | |
450 | | - | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
| 447 | + | |
462 | 448 | | |
463 | 449 | | |
464 | 450 | | |
| |||
0 commit comments