Re: [Tutor] Multi-line code that uses \ in doctest

2007-02-06 Thread Kent Johnson
Terry Carroll wrote: > On Tue, 6 Feb 2007, Kent Johnson wrote: > >> Kent Johnson wrote: >>> This page has more details: >>> file:///C:/Python25/Doc/lib/doctest-finding-examples.html >> Oops. The on-line version of that is here: >> file:///C:/Python25/Doc/lib/doctest-finding-examples.html > > http

Re: [Tutor] Multi-line code that uses \ in doctest

2007-02-06 Thread Terry Carroll
On Tue, 6 Feb 2007, Kent Johnson wrote: > Kent Johnson wrote: > > This page has more details: > > file:///C:/Python25/Doc/lib/doctest-finding-examples.html > > Oops. The on-line version of that is here: > file:///C:/Python25/Doc/lib/doctest-finding-examples.html http://www.python.org/doc/lib/doc

Re: [Tutor] Multi-line code that uses \ in doctest

2007-02-06 Thread Kent Johnson
Kent Johnson wrote: > This page has more details: > file:///C:/Python25/Doc/lib/doctest-finding-examples.html Oops. The on-line version of that is here: file:///C:/Python25/Doc/lib/doctest-finding-examples.html Kent ___ Tutor maillist - Tutor@python.

Re: [Tutor] Multi-line code that uses \ in doctest

2007-02-06 Thread Kent Johnson
Don Taylor wrote: > When I try to use something like: > > >>> hexStringNums = ('1', '2', '3', '4', '5', '6',\ > ... '7', '8', '9','0') > > or: > > >>> for hexString in hexStrings: > ... for x in hexString: > ... if ((not x in hexStringChars) and > ... (

[Tutor] Multi-line code that uses \ in doctest

2007-02-06 Thread Don Taylor
When I try to use something like: >>> hexStringNums = ('1', '2', '3', '4', '5', '6',\ ... '7', '8', '9','0') or: >>> for hexString in hexStrings: ... for x in hexString: ... if ((not x in hexStringChars) and ... (not x in hexStringNums)): ...