Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d146edfa
Commit
d146edfa
authored
Apr 21, 1999
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark the "Notes:" sections under tables the same way it's done
elsewhere in the library reference.
parent
b11d108c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
Doc/lib/libposixfile.tex
Doc/lib/libposixfile.tex
+11
-5
No files found.
Doc/lib/libposixfile.tex
View file @
d146edfa
...
...
@@ -11,7 +11,7 @@
\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
portably by the
\function
{
fcntl.lockf()
}
call.
%
\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)
}
\end{tableiii}
\noindent
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
representing the type of lock ('r' or 'w'). This modifier prevents a
request from being granted; it is for query purposes only.
\end{description}
Format characters for the
\method
{
flags()
}
method have the following
meanings:
...
...
@@ -149,12 +152,15 @@ In addition the following modifiers can be added to the format:
are set.
}{
(2)
}
\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.
\end{description}
Examples:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment