summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-12 07:32:02 (GMT)
committerGeorg Brandl <georg@python.org>2011-02-12 07:32:02 (GMT)
commitc60e306a802f4bbb8f14c5d11bd9abb3abdb42bd (patch)
tree6cf93eeef26c4bbdc2ecfeab2f1917de3734ca3f /Doc/library
parent51b75a6c28d68c377b63e56525482e1da0e7b811 (diff)
downloadcpython-c60e306a802f4bbb8f14c5d11bd9abb3abdb42bd.zip
cpython-c60e306a802f4bbb8f14c5d11bd9abb3abdb42bd.tar.gz
cpython-c60e306a802f4bbb8f14c5d11bd9abb3abdb42bd.tar.bz2
Fix markup problems.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index cf012ff..b8f1be2 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -952,7 +952,7 @@ Files and Directories
.. function:: lstat(path)
- Perform the equivalent of an :c:func:`lstat` system call on the given path.
+ Perform the equivalent of an :cfunc:`lstat` system call on the given path.
Similar to :func:`~os.stat`, but does not follow symbolic links. On
platforms that do not support symbolic links, this is an alias for
:func:`~os.stat`.
@@ -1139,11 +1139,11 @@ Files and Directories
.. function:: stat(path)
- Perform the equivalent of a :c:func:`stat` system call on the given path.
+ Perform the equivalent of a :cfunc:`stat` system call on the given path.
(This function follows symlinks; to stat a symlink use :func:`lstat`.)
The return value is an object whose attributes correspond to the members
- of the :c:type:`stat` structure, namely:
+ of the :ctype:`stat` structure, namely:
* :attr:`st_mode` - protection bits,
* :attr:`st_ino` - inode number,