Commit d73ce4b
Default with
Summary:
There seems no definition for `Exception.__init__` or `Exception.__new__` in
`builtins`. In this case, we should probably default to the `object.__init__`
or `object.__new__`.
Reviewed By: arthaud
Differential Revision: D85688232
fbshipit-source-id: d2f256be8efc175de7a5c86b1fd938222cce2162object.__init__ or object.__new__ when cannot find definitions for init or new methods1 parent 515a63e commit d73ce4b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2562 | 2562 | | |
2563 | 2563 | | |
2564 | 2564 | | |
2565 | | - | |
| 2565 | + | |
2566 | 2566 | | |
2567 | 2567 | | |
2568 | 2568 | | |
| |||
2586 | 2586 | | |
2587 | 2587 | | |
2588 | 2588 | | |
2589 | | - | |
| 2589 | + | |
2590 | 2590 | | |
2591 | 2591 | | |
2592 | 2592 | | |
| |||
2624 | 2624 | | |
2625 | 2625 | | |
2626 | 2626 | | |
2627 | | - | |
| 2627 | + | |
2628 | 2628 | | |
2629 | 2629 | | |
2630 | 2630 | | |
| |||
0 commit comments