MCPcopy Create free account
hub / github.com/battlecode/battlecode-2018 / to_python

Method to_python

bindings/frankenswig/__init__.py:434–437  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

432 + self.format(SWIG_FOOTER)
433
434 def to_python(self):
435 return self.format(PYTHON_HEADER)\
436 + '\n'.join(elem.to_python() for elem in self.elements)\
437 + self.format(PYTHON_FOOTER)
438
439 def struct(self, *args, **kwargs):
440 result = StructWrapper(self, *args, **kwargs)

Callers

nothing calls this directly

Calls 1

formatMethod · 0.95

Tested by

no test coverage detected