RFC 822 continuations

steven.vereecken at gmail.com steven.vereecken at gmail.com
Tue May 2 15:57:50 EDT 2006


Larry Bates wrote:
> Florian Lindner wrote:
> > Hello,
> > http://docs.python.org/lib/module-ConfigParser.html writes:
> >
> > "with continuations in the style of RFC 822; "
> >
> > what is meant with these continuations?
> >
> > Thanks,
> >
> > Florian
>
> From ConfigParser source code:
>
> Continuations are represented by an embedded newline then
> leading whitespace.
>
> -Larry Bates

In case this is not clear enough (wasn't clear to me either, the first
time I saw it, what with talk of "continuations" in other contexts), it
basically means that the values for a config option can span multiple
lines. A line starting with whitespace is considered to be a
"continuation" of the previous line.

Polaar




More information about the Python-list mailing list