mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
<writer>.send_paragraph(): Clarify what needs to be done by this
method and what it should not do. (Specifically: handling breaking of last line of preceeding paragraph.)
This commit is contained in:
parent
f4bb656a4f
commit
03dd3efd5a
1 changed files with 4 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue