mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
SF Bug #1008310, os.major() os.minor() example and description change. Will backport.
This commit is contained in:
parent
92ff693eb1
commit
7ecbc19e09
1 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue