diff options
author | Éric Araujo <merwok@netwok.org> | 2012-06-24 17:54:22 (GMT) |
---|---|---|
committer | Éric Araujo <merwok@netwok.org> | 2012-06-24 17:54:22 (GMT) |
commit | 56261cff162dee2043b859986a6a73db52d27085 (patch) | |
tree | a66a47a9a9f4353f7521ae061996d9ad99222dd4 /Doc | |
parent | 19c4e5bb391c805281288f1febc4dec12a365c86 (diff) | |
parent | 544e13d126153cfded305416f3b356f52f9458e5 (diff) | |
download | cpython-56261cff162dee2043b859986a6a73db52d27085.zip cpython-56261cff162dee2043b859986a6a73db52d27085.tar.gz cpython-56261cff162dee2043b859986a6a73db52d27085.tar.bz2 |
Branch merge
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/os.rst | 6 | ||||
-rw-r--r-- | Doc/library/shutil.rst | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index f38b152..78b4007 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1205,7 +1205,7 @@ features: * For some functions, the *path* argument can be not only a string giving a path name, but also a file descriptor. The function will then operate on the file referred to by the descriptor. (For POSIX systems, this will use the ``f...`` - versions of the function.) + version of the function.) You can check whether or not *path* can be specified as a file descriptor on your platform using :data:`os.supports_fd`. If it is unavailable, using it @@ -1220,7 +1220,7 @@ features: should be a file descriptor referring to a directory, and the path to operate on should be relative; path will then be relative to that directory. If the path is absolute, *dir_fd* is ignored. (For POSIX systems, this will use the - ``f...at`` versions of the function.) + ``f...at`` version of the function.) You can check whether or not *dir_fd* is supported on your platform using :data:`os.supports_dir_fd`. If it is unavailable, using it will raise a @@ -1231,7 +1231,7 @@ features: * For functions ith a *follow_symlinks* parameter: If *follow_symlinks* is ``False``, and the last element of the path to operate on is a symbolic link, the function will operate on the symbolic link itself instead of the file the - link points to. (For POSIX systems, this will use the ``l...`` versions of + link points to. (For POSIX systems, this will use the ``l...`` version of the function.) You can check whether or not *follow_symlinks* is supported on your platform diff --git a/Doc/library/shutil.rst b/Doc/library/shutil.rst index 267c96b..1c27cc9 100644 --- a/Doc/library/shutil.rst +++ b/Doc/library/shutil.rst @@ -214,7 +214,7 @@ Directory and files operations Added a symlink attack resistant version that is used automatically if platform supports fd-based functions. - .. data:: rmtree.avoids_symlink_attacks + .. attribute:: rmtree.avoids_symlink_attacks Indicates whether the current platform and implementation provides a symlink attack resistant version of :func:`rmtree`. Currently this is |