Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Commit46ad1c9
committed
DOC: Use correct constructor for unit subclasses.
Use `object.__new__` was raising for _everything_ that wasn't an`object` (aka, everything in the examples). It's necessary to use theactual class's `__new__`, which fixes the special initialization thatwas in the `try`.1 parent513c00b commit46ad1c9
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
| 130 | + | |
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
|
0 commit comments
Comments
(0)