summaryrefslogtreecommitdiff
path: root/constructor.py
diff options
context:
space:
mode:
Diffstat (limited to 'constructor.py')
-rw-r--r--constructor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py
index 758daca..2280d4f 100644
--- a/constructor.py
+++ b/constructor.py
@@ -959,7 +959,7 @@ class Constructor(SafeConstructor):
elif state:
slotstate.update(state)
for key, value in slotstate.items():
- setattr(object, key, value)
+ setattr(instance, key, value)
def construct_python_object(self, suffix, node):
# type: (Any, Any) -> Any