code: def enter_block(self, name):
          
          section = self._get_section(name)
          block = self.current_block = section.new_block()
          self.blocks.append(block)
          return block
docs: Mark 'entering a block'.