<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_children(self, children):
 """Set children of the span block."""

        if isinstance(children, tuple):
            self._children = list(children)
        else:
            self._children = [children]
        return self