def clear(self):

        node_factory = self.node_factory

        self.nodes[:] = [ [node_factory(x, y) for x in range(width)] \
                                              for y in range(height)]
Copies this to a descriptor_pb2.EnumDescriptorProto.
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/gameobjects/grid.py/Grid.clear--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/google/net/proto2/python/public/descriptor.py/EnumDescriptor.CopyToProto