parameters: (self, name)
return_statement: return None
docstring: Returns the child node with the given name, if one exists, otherwise None.
docstring_summary: Returns the child node with the given name, if one exists, otherwise None.
docstring_tokens: Returns the child node with the given name if one exists otherwise None .
function: def child(self, name):
          """
          Returns the child node with the given name, if one exists, otherwise None.
          """
          if not isinstance(name, str):
              raise TypeError('"name" should be a str')
          for child in self.children():
              if child.name() == name:
                  return child
          return None
function_tokens: def child ( self , name ) : if not isinstance ( name , str ) : raise TypeError ( '"name" should be a str' ) for child in self . children ( ) : if child . name ( ) == name : return child return None