summaryrefslogtreecommitdiff
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-02-12 07:32:17 +0000
committerGeorg Brandl <georg@python.org>2011-02-12 07:32:17 +0000
commitd890151c5d6a0422759df9b5d6ec161c5e378b77 (patch)
tree7e126b90f6fbb9b5153de6cbd50d2c423041617d /Doc/library/os.rst
parent6fb2bedf47e0132f6aac141e8db0f84df56ae5c1 (diff)
downloadcpython-d890151c5d6a0422759df9b5d6ec161c5e378b77.tar.gz
Fix markup problems.
Diffstat (limited to 'Doc/library/os.rst')
-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 8e4c53d0a2..e97cf80914 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -1114,7 +1114,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`.
@@ -1315,11 +1315,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,