summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libos.tex
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-05-10 03:35:37 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-05-10 03:35:37 (GMT)
commit52136a8bea8b9a8394c00eb7ea2b6e40346ae716 (patch)
treeae7a4582ca654ba0e262d816a62d626d3202bc3e /Doc/lib/libos.tex
parent71e0033200d7b013a64375d3001d2aa2de933f3c (diff)
downloadcpython-52136a8bea8b9a8394c00eb7ea2b6e40346ae716.zip
cpython-52136a8bea8b9a8394c00eb7ea2b6e40346ae716.tar.gz
cpython-52136a8bea8b9a8394c00eb7ea2b6e40346ae716.tar.bz2
Fixed spacing and unbalanced brackets or parenthesis.
Diffstat (limited to 'Doc/lib/libos.tex')
-rw-r--r--Doc/lib/libos.tex4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index c9cf137..dd492bb 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -453,7 +453,7 @@ this calls the native \cfunction{fsync()} function; on Windows, the
MS \cfunction{_commit()} function.
If you're starting with a Python file object \var{f}, first do
-\code{\var{f}.flush()}, and then do \code{os.fsync(\var{f}.fileno()},
+\code{\var{f}.flush()}, and then do \code{os.fsync(\var{f}.fileno())},
to ensure that all internal buffers associated with \var{f} are written
to disk.
Availability: \UNIX, and Windows starting in 2.2.3.
@@ -884,7 +884,7 @@ the \ctype{stat} structure, namely:
\member{st_mode} (protection bits),
\member{st_ino} (inode number),
\member{st_dev} (device),
-\member{st_nlink} (number of hard links,
+\member{st_nlink} (number of hard links),
\member{st_uid} (user ID of owner),
\member{st_gid} (group ID of owner),
\member{st_size} (size of file, in bytes),