wish: multiline comments
Fred L. Drake, Jr.
fdrake at acm.org
Wed Dec 1 13:33:16 EST 1999
Paul M writes:
> Whoops, I sent that off without finishing...
>
> After importing foo2 there is a *.pyc file of ~ 2.6MB. Less than the
> original *.py file of 2.8MB but quite large still.
Paul,
You created a file with a very long docstring, which is retained.
Try creating a file that starts:
"""A really short string."""
""And now a really, really long one....
...
"""
*That* should produce the small .pyc with only the first string
saved.
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
Corporation for National Research Initiatives
More information about the Python-list
mailing list