code: def _assign(self, assignment):  # type: (Assignment) -> None
          
          self._assignments.append(assignment)
          self._register(assignment)
docs: Adds an Assignment to _assignments and _positive or _negative.