(self, suffix, node)
| 563 | setattr(object, key, value) |
| 564 | |
| 565 | def construct_python_object(self, suffix, node): |
| 566 | # Format: |
| 567 | # !!python/object:module.name { ... state ... } |
| 568 | instance = self.make_python_instance(suffix, node, newobj=True) |
| 569 | yield instance |
| 570 | deep = hasattr(instance, '__setstate__') |
| 571 | state = self.construct_mapping(node, deep=deep) |
| 572 | self.set_python_instance_state(instance, state) |
| 573 | |
| 574 | def construct_python_object_apply(self, suffix, node, newobj=False): |
| 575 | # Format: |
nothing calls this directly
no test coverage detected