def remove(self):
if not self._is_item:<EOL><INDENT>raise TypeError("<STR_LIT>")<EOL><DEDENT>self.container.node_stack.remove(self)<EOL>
Removes an item from ListNode.

Raises:
    TypeError: If it's called on container ListNode (intstead of ListNode's item)

Note:
    Parent object should be explicitly saved.