[Python-checkins] python/dist/src/Lib doctest.py, 1.36.2.19,
1.36.2.20
tim_one at users.sourceforge.net
tim_one at users.sourceforge.net
Fri Aug 6 04:13:44 CEST 2004
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4006/Lib
Modified Files:
Tag: tim-doctest-branch
doctest.py
Log Message:
Repaired typo in docstring.
Index: doctest.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/doctest.py,v
retrieving revision 1.36.2.19
retrieving revision 1.36.2.20
diff -C2 -d -r1.36.2.19 -r1.36.2.20
*** doctest.py 6 Aug 2004 02:11:52 -0000 1.36.2.19
--- doctest.py 6 Aug 2004 02:13:41 -0000 1.36.2.20
***************
*** 534,540 ****
The format of this isn't rigidly defined. In general, doctest
examples become the executable statements in the result, and
! and their expected outputs become comments, preceded by an
! "#Expected:" comment. Everything else (text, comments,
! everything not part of a doctest test) is also placed in comments.
>>> text = '''
--- 534,540 ----
The format of this isn't rigidly defined. In general, doctest
examples become the executable statements in the result, and
! their expected outputs become comments, preceded by an "#Expected:"
! comment. Everything else (text, comments, everything not part of
! a doctest test) is also placed in comments.
>>> text = '''
More information about the Python-checkins
mailing list