original_docstring:  Flatten a copy of the polygon. 
docstring: Flatten a copy of the polygon.
docstring_tokens: Flatten a copy of the polygon .
code: def flat_copy(self, level=-1):
          """ Flatten a copy of the polygon. """
          S = Route(shape=self.shape, layer=self.layer, transformation=self.transformation)
          S.expand_transform()
          return S
code_tokens: def flat_copy ( self , level = - 1 ) : S = Route ( shape = self . shape , layer = self . layer , transformation = self . transformation ) S . expand_transform ( ) return S
short_docstring: Flatten a copy of the polygon.
short_docstring_tokens: Flatten a copy of the polygon .
comment: """ Flatten a copy of the polygon. """