Searched refs:child_name (Results 1 – 1 of 1) sorted by relevance
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/ |
D | stubout.py | 109 def Set(self, parent, child_name, new_child): argument 119 old_child = getattr(parent, child_name) 121 old_attribute = parent.__dict__.get(child_name) 125 self.cache.append((parent, old_child, child_name)) 126 setattr(parent, child_name, new_child) 138 for (parent, old_child, child_name) in self.cache: 139 setattr(parent, child_name, old_child)
|