diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-16 00:42:57 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-16 00:42:57 (GMT) |
commit | acbb786596ee451af79fc7515a15d1d1ae4ed867 (patch) | |
tree | c3c5e6f8bb9b19b2e81d5f910bc3889703afbff9 /Doc | |
parent | 8ae3e055a51e4cddce90d0faad79ad27e21942c2 (diff) | |
download | cpython-acbb786596ee451af79fc7515a15d1d1ae4ed867.zip cpython-acbb786596ee451af79fc7515a15d1d1ae4ed867.tar.gz cpython-acbb786596ee451af79fc7515a15d1d1ae4ed867.tar.bz2 |
Remove the statvfs module.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/filesys.rst | 1 | ||||
-rw-r--r-- | Doc/library/os.rst | 9 | ||||
-rw-r--r-- | Doc/library/statvfs.rst | 64 |
3 files changed, 0 insertions, 74 deletions
diff --git a/Doc/library/filesys.rst b/Doc/library/filesys.rst index c3d9df0..3a217d5 100644 --- a/Doc/library/filesys.rst +++ b/Doc/library/filesys.rst @@ -16,7 +16,6 @@ in this chapter is: os.path.rst fileinput.rst stat.rst - statvfs.rst filecmp.rst tempfile.rst glob.rst diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 951474f..551424d 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1074,15 +1074,6 @@ Files and Directories :attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`. Availability: Unix. - .. index:: module: statvfs - - For backward compatibility, the return value is also accessible as a tuple whose - values correspond to the attributes, in the order given above. The standard - module :mod:`statvfs` defines constants that are useful for extracting - information from a :ctype:`statvfs` structure when accessing it as a sequence; - this remains useful when writing code that needs to work with versions of Python - that don't support accessing the fields as attributes. - .. function:: symlink(src, dst) diff --git a/Doc/library/statvfs.rst b/Doc/library/statvfs.rst deleted file mode 100644 index 0b32f65..0000000 --- a/Doc/library/statvfs.rst +++ /dev/null @@ -1,64 +0,0 @@ -:mod:`statvfs` --- Constants used with :func:`os.statvfs` -========================================================= - -.. module:: statvfs - :synopsis: Constants for interpreting the result of os.statvfs(). -.. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il> - - -The :mod:`statvfs` module defines constants so interpreting the result if -:func:`os.statvfs`, which returns a tuple, can be made without remembering -"magic numbers." Each of the constants defined in this module is the *index* of -the entry in the tuple returned by :func:`os.statvfs` that contains the -specified information. - - -.. data:: F_BSIZE - - Preferred file system block size. - - -.. data:: F_FRSIZE - - Fundamental file system block size. - - -.. data:: F_BLOCKS - - Total number of blocks in the filesystem. - - -.. data:: F_BFREE - - Total number of free blocks. - - -.. data:: F_BAVAIL - - Free blocks available to non-super user. - - -.. data:: F_FILES - - Total number of file nodes. - - -.. data:: F_FFREE - - Total number of free file nodes. - - -.. data:: F_FAVAIL - - Free nodes available to non-super user. - - -.. data:: F_FLAG - - Flags. System dependent: see :cfunc:`statvfs` man page. - - -.. data:: F_NAMEMAX - - Maximum file name length. - |