Show More
@@ -449,7 +449,7 b' class MetaHasTraits(type):' | |||||
449 | class HasTraits(py3compat.with_metaclass(MetaHasTraits, object)): |
|
449 | class HasTraits(py3compat.with_metaclass(MetaHasTraits, object)): | |
450 |
|
450 | |||
451 | def __new__(cls, *args, **kw): |
|
451 | def __new__(cls, *args, **kw): | |
452 |
# This is needed because |
|
452 | # This is needed because object.__new__ only accepts | |
453 | # the cls argument. |
|
453 | # the cls argument. | |
454 | new_meth = super(HasTraits, cls).__new__ |
|
454 | new_meth = super(HasTraits, cls).__new__ | |
455 | if new_meth is object.__new__: |
|
455 | if new_meth is object.__new__: |
General Comments 0
You need to be logged in to leave comments.
Login now