diff options
author | Fred Drake <fdrake@acm.org> | 2001-10-20 04:18:14 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-10-20 04:18:14 (GMT) |
commit | 64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9 (patch) | |
tree | 6320c30f572031c5d39e619717eb27fdb8146eec /Doc/doc/doc.tex | |
parent | 0c77cf15c0f6a758d6dbe3e15850f9d967451638 (diff) | |
download | cpython-64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9.zip cpython-64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9.tar.gz cpython-64a5aaf05ca20bdbd72c30fa0cfdda2ae9a347d9.tar.bz2 |
Describe the content given as the parameter to the \note and \warning macros
in more detail, and use them where appropriate.
Diffstat (limited to 'Doc/doc/doc.tex')
-rw-r--r-- | Doc/doc/doc.tex | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/Doc/doc/doc.tex b/Doc/doc/doc.tex index 00a465f..1a7df0a 100644 --- a/Doc/doc/doc.tex +++ b/Doc/doc/doc.tex @@ -776,16 +776,16 @@ This \UNIX\ is also followed by a space. The name of a file or directory. In the PDF and PostScript outputs, single quotes and a font change are used to indicate the file name, but no quotes are used in the HTML output. - \strong{Warning:} The \macro{file} macro cannot be used in the - content of a section title due to processing limitations. + \warning{The \macro{file} macro cannot be used in the + content of a section title due to processing limitations.} \end{macrodesc} \begin{macrodesc}{filenq}{\p{file or dir}} Like \macro{file}, but single quotes are never used. This can be used in conjunction with tables if a column will only contain file or directory names. - \strong{Warning:} The \macro{filenq} macro cannot be used in the - content of a section title due to processing limitations. + \warning{The \macro{filenq} macro cannot be used in the + content of a section title due to processing limitations.} \end{macrodesc} \begin{macrodesc}{function}{\p{name}} @@ -864,7 +864,8 @@ This \UNIX\ is also followed by a space. user should be aware of when using whatever bit of API the note pertains to. This should be the last thing in the paragraph as the end of the note is not visually marked in - any way. + any way. The content of \var{text} should be written in + complete sentences and include all appropriate punctuation. \end{macrodesc} \begin{macrodesc}{pep}{\p{number}} @@ -1001,9 +1002,11 @@ This \UNIX\ is also followed by a space. An important bit of information about an API that a user should be very aware of when using whatever bit of API the warning pertains to. This should be the last thing in the paragraph as - the end of the warning is not visually marked in any way. This - differs from \macro{note} in that it is recommended over - \macro{note} for information regarding security. + the end of the warning is not visually marked in any way. The + content of \var{text} should be written in complete sentences + and include all appropriate punctuation. This differs from + \macro{note} in that it is recommended over \macro{note} for + information regarding security. \end{macrodesc} @@ -1327,8 +1330,8 @@ This \UNIX\ is also followed by a space. name is given in \var{name}, with the link key given in \var{key} if necessary. In the HTML and PDF conversions, the module name will be a hyperlink to the referred-to module. - \strong{Note:} The module must be documented in the same - document (the corresponding \macro{declaremodule} is required). + \note{The module must be documented in the same + document (the corresponding \macro{declaremodule} is required).} \end{macrodesc} \begin{macrodesc}{seepep}{\p{number}\p{title}\p{why}} |