lib/shapes/ShapeGroup.py
def svg(self):
		"""Returns the SVG representation as an XML fragment."""

		shapes = []
		for shape in self.shapes:
			try:
				shapes.append(shape.svg())
			except AttributeError:
				raise

		self.subelements = shapes

		return Shape.svg(self)
Returns the SVG representation as an XML fragment.
Returns the SVG representation as an XML fragment.
Returns the SVG representation as an XML fragment .
def svg(self):
		shapes = []
		for shape in self.shapes:
			try:
				shapes.append(shape.svg())
			except AttributeError:
				raise
		self.subelements = shapes
		return Shape.svg(self)
def svg ( self ) : shapes = [ ] for shape in self . shapes : try : shapes . append ( shape . svg ( ) ) except AttributeError : raise self . subelements = shapes return Shape . svg ( self )
Returns the SVG representation as an XML fragment.
Returns the SVG representation as an XML fragment .
"""Returns the SVG representation as an XML fragment."""
self