[ python-Bugs-1008310 ] os.major() os.minor() example and description change

SourceForge.net noreply at sourceforge.net
Fri Aug 13 00:21:55 CEST 2004


Bugs item #1008310, was opened at 2004-08-12 15:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1008310&group_id=5470

Category: Documentation
Group: Python 2.3
Status: Open
Resolution: None
Priority: 5
Submitted By: Steven (grayshark)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.major() os.minor() example and description change

Initial Comment:
The description for os.major() and os.minor() are damn
poor.
major(  	device)
    Extracts a device major number from a raw device
number. New in version 2.3. 

minor( 	device)
    Extracts a device minor number from a raw device
number. New in version 2.3. 

The really bad part is the term "raw device number". 

it should be:
Extracts a device [major,minor] number for stat st_rdev
field, or returns a zero if the st_rdev does not
reference a special block device.

Example follows.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1008310&group_id=5470


More information about the Python-bugs-list mailing list