pprint: "...thank small children who sleep at night."
Adam Jones
ajones1 at gmail.com
Wed Sep 20 11:05:19 EDT 2006
Brian L. Troutwine wrote:
> The heading comment to pprint reads:
>
> # This is a simple little module I wrote to make life easier. I
> didn't
> # see anything quite like it in the library, though I may have
> overlooked
> # something. I wrote this when I was trying to read some heavily
> nested
> # tuples with fairly non-descriptive content. This is modeled very
> much
> # after Lisp/Scheme - style pretty-printing of lists. If you find it
> # useful, thank small children who sleep at night.
>
> Is the last sentence an obscure reference or in-joke? Can someone
> explain it? I don't get it.
My guess is that he had to write a pretty printer so his cursing and
general frustration and reading nasty nested tuples wouldn't wake the
kids.
-Adam
More information about the Python-list
mailing list