Removed (unnecessary) double assignment in ObjectProxy.__setattr__

I would be rather surprised if this was desired, and if yes I'd ask : why is this necessary ?
This commit is contained in:
Grégory Starck
2015-06-25 14:04:47 -04:00
parent b9feaf5e43
commit 310d7a4123

View File

@@ -170,7 +170,6 @@ class ObjectProxy(with_metaclass(_ObjectProxyMetaType)):
object.__delattr__(self, '__qualname__')
except AttributeError:
pass
object.__setattr__(self, name, value)
try:
object.__setattr__(self, '__qualname__', value.__qualname__)
except AttributeError: