[Patches] [ python-Patches-523271 ] Docstrings for os.stat and time.localtim

noreply@sourceforge.net noreply@sourceforge.net
Tue, 26 Feb 2002 21:32:34 -0800


Patches item #523271, was opened at 2002-02-26 21:32
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=523271&group_id=5470

Category: Documentation
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Sean Reifschneider (jafo)
Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Docstrings for os.stat and time.localtim

Initial Comment:
This patch updates the first line of the docstrings for
os.stat(), os.lstat(), and time.*time() so that it
reflects the attribute names on the tuple-like struct
object returned.

It changes:

localtime(...)
    localtime([seconds]) ->
(year,month,day,hour,minute,second,weekday,dayofyear
,dst)

into:

gmtime([seconds]) ->
(tm_year,tm_mon,tm_day,tm_hour,tm_min,tm_sec,tm_wday,tm_yday,tm_isdst)



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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=523271&group_id=5470