mirror of
https://github.com/python/cpython.git
synced 2025-11-07 21:29:26 +00:00
Mark the "Notes:" sections under tables the same way it's done
elsewhere in the library reference.
This commit is contained in:
parent
b11d108cdc
commit
d146edfaf1
1 changed files with 11 additions and 5 deletions
|
|
@ -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:
|
||||||
\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:
|
||||||
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:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue