[ python-Bugs-1048234 ] stat documentation is incorrect

SourceForge.net noreply at sourceforge.net
Sun Oct 17 15:25:11 CEST 2004


Bugs item #1048234, was opened at 2004-10-16 10:22
Message generated for change (Settings changed) made by jlgijsbers
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1048234&group_id=5470

Category: Documentation
Group: Python 2.3
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: libber ator (libber)
Assigned to: Nobody/Anonymous (nobody)
Summary: stat documentation is incorrect

Initial Comment:
http://www.python.org/doc/2.3.4/lib/module-stat.html

You no longer do this:
        mode = os.stat(file)[ST_MODE]
You instead do:
        mode = os.stat(file).st_mode

I would happily update this doc, just tell me the
correct procedure. Python has been a joy to use.

libber at gmail.com
Collin Greene

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

Comment By: libber ator (libber)
Date: 2004-10-17 07:43

Message:
Logged In: YES 
user_id=705534

Whoops, I found out I was just wrong, there is nothing
incorrect about this documentation, sorry!

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

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-10-16 12:57

Message:
Logged In: YES 
user_id=469548

By the way: just providing the text and where to put it
would be great too!

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

Comment By: Johannes Gijsbers (jlgijsbers)
Date: 2004-10-16 12:53

Message:
Logged In: YES 
user_id=469548

You should first get the Python source from CVS (there's a
link in the bar above). When you've got the source, you
should look for a file called 'libstat.text' (in
dist/src/python/Doc/lib). You can update the docs for this
module in that file, create a patch and submit it back to us.

Oh, if some of the above was complete gibberish to you,
http://python.org/dev/ is also a good source.

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

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


More information about the Python-bugs-list mailing list