]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Backport: SF Bug #1008310, os.major() os.minor() example and description change.
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 05:48:18 +0000 (05:48 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 3 Oct 2005 05:48:18 +0000 (05:48 +0000)
Doc/lib/libos.tex

index a2420ee442ad6f12c9760a4346166ae7108aeb7f..59741ae4fc2b9817506e9e0e767dd3799cc8b695 100644 (file)
@@ -823,12 +823,14 @@ defines the newly created device special file (probably using
 \end{funcdesc}
 
 \begin{funcdesc}{major}{device}
-Extracts a device major number from a raw device number.
+Extracts the device major number from a raw device number (usually
+the \member{st_dev} or \member{st_rdev} field from \ctype{stat}).
 \versionadded{2.3}
 \end{funcdesc}
 
 \begin{funcdesc}{minor}{device}
-Extracts a device minor number from a raw device number.
+Extracts the device minor number from a raw device number (usually
+the \member{st_dev} or \member{st_rdev} field from \ctype{stat}).
 \versionadded{2.3}
 \end{funcdesc}