Commit c296652
committed
Fixed Python 2.6 warning with traitlets object.__new__.
In Python 2.6 a warning is given if object.__new__ is called with
anything more than first cls argument. We are using super so we needed
a way to see of the __new__ method about to be called is
object.__new__.1 parent 74bb15f commit c296652
1 file changed
Lines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
346 | 352 | | |
347 | 353 | | |
348 | 354 | | |
| |||
0 commit comments