(self)
Return the function the current code block is a part of.

    Returns:
      The current Function object.
Return the function the current code block is a part of.
Return the function the current code block is a part of .
def GetFunction(self):
    """Return the function the current code block is a part of.

    Returns:
      The current Function object.
    """
    if self._functions:
      return self._functions[-1]
def GetFunction ( self ) : if self . _functions : return self . _functions [ - 1 ]