[Python-Dev] proposal: add basic time type to the standard library (original) (raw)
Skip Montanaro skip@pobox.com
Tue, 26 Feb 2002 15:00:40 -0600
- Previous message: [Python-Dev] proposal: add basic time type to the standard library
- Next message: [Python-Dev] proposal: add basic time type to the standard library
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Guido> The timetuple() method provides access to all of these
Guido> simultaneously. Isn't that enough? t.year() could be spelled as
Guido> t.timetuple()[0].
Since we're discussing an abstract type it probably doesn't apply directly, but perhaps timetuple() could be specified to return a super-tuple like os.stat() does...
Skip
- Previous message: [Python-Dev] proposal: add basic time type to the standard library
- Next message: [Python-Dev] proposal: add basic time type to the standard library
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]