sagemath/sagenb — pull request #71 by jsyeo (2012-06-18 18:14:48+00:00)
Title: Remove redundant strip() function calls

I've did some refactoring to the ``plain_text()`` function in addition to the above mentioned change.
A summary of what I've done:
- Renamed s to plaintext_output.
- Removed redundant strip() calls.
- Changed doc strings.
- Removed silly condition check
::
pr = 'sage: '
#some code that does not change pr
if pr == 'sage: '
#do something
- Changed static prefix string equality checks to python strlib's startswith().