Gets the snippet ready for another update. :cur: the new value for c.
(self, cur)
| 73 | self._parent = parent |
| 74 | |
| 75 | def _reset(self, cur): |
| 76 | """Gets the snippet ready for another update. |
| 77 | |
| 78 | :cur: the new value for c. |
| 79 | |
| 80 | """ |
| 81 | self._ind.reset() |
| 82 | self._cur = cur |
| 83 | self._rv = "" |
| 84 | self._changed = False |
| 85 | self.reset_indent() |
| 86 | |
| 87 | def shift(self, amount=1): |
| 88 | """Shifts the indentation level. Note that this uses the shiftwidth |
no test coverage detected