]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
<writer>.send_paragraph(): Clarify what needs to be done by this
authorFred Drake <fdrake@acm.org>
Tue, 12 Jan 1999 18:33:47 +0000 (18:33 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 12 Jan 1999 18:33:47 +0000 (18:33 +0000)
method and what it should not do.  (Specifically: handling
breaking of last line of preceeding paragraph.)

Doc/lib/libformatter.tex

index 9bb12b22ee0ffd56744bf896142a0ab5bde6e16d..5d860a2ffd07bf7c99d433468c85e85f0d095652 100644 (file)
@@ -265,7 +265,10 @@ Break the current line.
 \begin{methoddesc}[writer]{send_paragraph}{blankline}
 Produce a paragraph separation of at least \var{blankline} blank
 lines, or the equivelent.  The \var{blankline} value will be an
-integer.
+integer.  Note that the implementation will receive a call to
+\method{send_line_break()} before this call if a line break is needed; 
+this method should not include ending the last line of the paragraph.
+It is only responsible for vertical spacing between paragraphs.
 \end{methoddesc}
 
 \begin{methoddesc}[writer]{send_hor_rule}{*args, **kw}