Push *o* to the stack after the current position, and return *o*. Discard all later elements.
(self, o)
| 691 | return self() |
| 692 | |
| 693 | def push(self, o): |
| 694 | """ |
| 695 | Push *o* to the stack after the current position, and return *o*. |
| 696 | |
| 697 | Discard all later elements. |
| 698 | """ |
| 699 | self._elements[self._pos + 1:] = [o] |
| 700 | self._pos = len(self._elements) - 1 |
| 701 | return o |
| 702 | |
| 703 | def home(self): |
| 704 | """ |
no outgoing calls
no test coverage detected