parameters: (self, block, name=None)
docstring: Registers block as a child of self. :py:class:`Block` s assigned to self as
          attributes will be registered automatically.
docstring_summary: Registers block as a child of self. :py:class:`Block` s assigned to self as
          attributes will be registered automatically.
docstring_tokens: Registers block as a child of self . : py : class : Block s assigned to self as attributes will be registered automatically .
function: def register_child(self, block, name=None):
          """Registers block as a child of self. :py:class:`Block` s assigned to self as
          attributes will be registered automatically."""
          if name is None:
              name = str(len(self._children))
          self._children[name] = weakref.ref(block)
function_tokens: def register_child ( self , block , name = None ) : if name is None : name = str ( len ( self . _children ) ) self . _children [ name ] = weakref . ref ( block )