- set `page.text` to `None` to discard changes
| @text.setter |
| def text(self, value): |
| """Update the current (edited) wikitext. |
|
|
| @param value: New value or None |
| @param value: basestring |
| """ |
| self._text = None if value is None else unicode(value) |
and |
| |||||
I find there is a lot of implicit for a pythonic program :) at least the meaning and the effects should be more explicitely documented. |
|||||