(self)
return descendants
Returns a list of all of this object's descendants, including this
    object.
Returns a list of all of this object's descendants, including this
    object.
Returns a list of all of this object s descendants including this object .
def Descendants(self):
    """Returns a list of all of this object's descendants, including this
    object.
    """

    children = self.Children()
    descendants = [self]
    for child in children:
      descendants.extend(child.Descendants())
    return descendants
def Descendants ( self ) : children = self . Children ( ) descendants = [ self ] for child in children : descendants . extend ( child . Descendants ( ) ) return descendants