Commit 4e2b70bf authored by Neal Norwitz's avatar Neal Norwitz

SF Bug #1008310, os.major() os.minor() example and description change. Will backport.

parent 7d7946c6
......@@ -843,12 +843,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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment