summaryrefslogtreecommitdiffstats
path: root/Lib/calendar.py
Commit message (Collapse)AuthorAgeFilesLines
* typos fixed by Rob HooftJeremy Hylton2000-06-281-1/+1
|
* Mass patch by Ka-Ping Yee:Guido van Rossum2000-02-021-118/+116
| | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
* Add unrelated but handy function: timegm(), to calculate UnixGuido van Rossum1999-06-091-0/+17
| | | | timestamp from GMT tuple.
* No need to import gmtime, ctime, asctime.Guido van Rossum1999-05-031-2/+2
| | | | | Make error an alias for ValueError. (Andrew Dalke & kjpylint)
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-6/+1
|
* Some minute changes.Guido van Rossum1993-12-291-1/+0
|
* * calendar.py: all libC functionality now moved to built-in time moduleGuido van Rossum1993-06-231-27/+8
| | | | | | | * imghdr.py: added jpeg recognition * torgb.py: added jpeg conversion * tzparse.py: use functions from time instead of calendar * whatsound.py: add /ufs/guido/biin/sgi to $PATH when calling 'whatsound'
* * aifc.py: don't die on invalid MARK chunkGuido van Rossum1993-06-201-121/+81
| | | | | | | * calendar.py: remove stuff now built in time; some cleanup and generalization in the calendar printing * cmd.py: use __init__. * tzparse.py: This module is no longer necessary -- use builtin time instead!
* * calendar.py: minor cleanupsGuido van Rossum1993-06-171-4/+7
| | | | | * ftplib.py: support __init__ with optional host, port args * aifc.py: ensure header is written on close even when no data is written
* aiff.py, calendar.py: change functions taking a tuple to really take aGuido van Rossum1993-02-051-1/+2
| | | | tuple (now that it makes a difference to Python)
* * More changes due to stricter argument passing rulesGuido van Rossum1993-01-041-1/+2
| | | | | | * Fixed calendar.py, mimetools.py, whrandom.py to cope with time.time() returning a floating point number. (And fix old bug in calendar) * Add recursion level to mainloop.mainloop(), to make it reentrant.
* Misc changes and new modules. whrandom is "objectified". SOCKET.pyGuido van Rossum1992-10-181-4/+4
| | | | is moved to the sgi subdirectory.
* Changed calendar.py to define lists of literals instead of tuples.Guido van Rossum1992-07-091-9/+9
| | | | Got rid of old module 'localtime.py'.
* New == syntaxGuido van Rossum1992-01-011-4/+4
|
* Use IOError.Guido van Rossum1991-12-261-1/+1
|
* Initial revisionGuido van Rossum1990-10-131-0/+213