parameters: (self)
return_statement: return self.im
docstring: Get the PIL image.
docstring_summary: Get the PIL image.
docstring_tokens: Get the PIL image .
function: def to_pil(self):
          """Get the PIL image."""
          assert self.is_valid()
          return self.im
function_tokens: def to_pil ( self ) : assert self . is_valid ( ) return self . im