original_docstring: Convert a 2D line to 3D.
docstring: Convert a 2D line to 3D.
docstring_tokens: Convert a 2D line to 3D .
code: def line_2d_to_3d(line, zs=0, zdir='z'):
      """Convert a 2D line to 3D."""
  
      line.__class__ = Line3D
      line.set_3d_properties(zs, zdir)
code_tokens: def line_2d_to_3d ( line , zs = 0 , zdir = 'z' ) : line . __class__ = Line3D line . set_3d_properties ( zs , zdir )
short_docstring: Convert a 2D line to 3D.
short_docstring_tokens: Convert a 2D line to 3D .
comment: """Convert a 2D line to 3D."""