Kaydet (Commit) d146edfa authored tarafından Fred Drake's avatar Fred Drake

Mark the "Notes:" sections under tables the same way it's done

elsewhere in the library reference.
üst b11d108c
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
\indexii{\POSIX{}}{file object} \indexii{\POSIX{}}{file object}
\emph{Note:} This module will become obsolete in a future release. \strong{Note:} This module will become obsolete in a future release.
The locking operation that it provides is done better and more The locking operation that it provides is done better and more
portably by the \function{fcntl.lockf()} call.% portably by the \function{fcntl.lockf()} call.%
\withsubitem{(in module fcntl)}{\ttindex{lockf()}} \withsubitem{(in module fcntl)}{\ttindex{lockf()}}
...@@ -123,12 +123,15 @@ In addition the following modifiers can be added to the format: ...@@ -123,12 +123,15 @@ In addition the following modifiers can be added to the format:
\code{None} if there is no conflict.}{(1)} \code{None} if there is no conflict.}{(1)}
\end{tableiii} \end{tableiii}
\noindent
Note: Note:
(1) The lock returned is in the format \code{(\var{mode}, \var{len}, \begin{description}
\item[(1)] The lock returned is in the format \code{(\var{mode}, \var{len},
\var{start}, \var{whence}, \var{pid})} where \var{mode} is a character \var{start}, \var{whence}, \var{pid})} where \var{mode} is a character
representing the type of lock ('r' or 'w'). This modifier prevents a representing the type of lock ('r' or 'w'). This modifier prevents a
request from being granted; it is for query purposes only. request from being granted; it is for query purposes only.
\end{description}
Format characters for the \method{flags()} method have the following Format characters for the \method{flags()} method have the following
meanings: meanings:
...@@ -149,12 +152,15 @@ In addition the following modifiers can be added to the format: ...@@ -149,12 +152,15 @@ In addition the following modifiers can be added to the format:
are set.}{(2)} are set.}{(2)}
\end{tableiii} \end{tableiii}
Note: \noindent
Notes:
(1) The \samp{!} and \samp{=} modifiers are mutually exclusive. \begin{description}
\item[(1)] The \samp{!} and \samp{=} modifiers are mutually exclusive.
(2) This string represents the flags after they may have been altered \item[(2)] This string represents the flags after they may have been altered
by the same call. by the same call.
\end{description}
Examples: Examples:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment