[Zope3-Users] Question about README.txt files
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue May 5 08:17:22 EDT 2009
On Tuesday 05 May 2009, Kent Tenney wrote:
> I've considered the '>>>' prompt an interpreter prompt, so
> >>> write('file', """content""")
> always looked a bit magical to me.
But it is the interpreter prompt. The idea is that you can copy an interpreter
session into a doctest and it will just work.
> >>> import dtglobals
>
> where dtglobals would expose all the good
> !magic, without requiring the test scaffolding.
That would be truly a lot of magic. I think it should be more something like:
from fsutil import *
But anyways, putting stuff in globs is used for lots of doctests, so you might
as well get used to that.
Regards,
Stephan
--
Stephan Richter
Web Software Design, Development and Training
Google me. "Zope Stephan Richter"
More information about the Zope3-users
mailing list