Commit Graph

7 Commits

Author SHA1 Message Date
Guido van Rossum e7b146fb3b The third and final doc-string sweep by Ka-Ping Yee.
The attached patches update the standard library so that all modules
have docstrings beginning with one-line summaries.

A new docstring was added to formatter.  The docstring for os.py
was updated to mention nt, os2, ce in addition to posix, dos, mac.
2000-02-04 15:28:42 +00:00
Guido van Rossum 7aeb4b9ce8 * Lib/linecache.py: don't crash on empty filename
* Lib/macpath.py: don't return trailing colon for dirname()
	(XXX won't do for volume names -- but otherwise glob(':*:*.py')
	loops forever)
	* Lib/traceback.py: print SyntaxError correctly
	* Lib/stat.py: moved to posixstat.py; added macstat.py which has
	the constants for the Mac; and created new stat.py which includes
	the right one
	* Lib/urllib.py: fix caching bug (by disabling the cache)
1994-08-23 13:32:20 +00:00
Guido van Rossum 8899a9ca40 Add names for perm bits (S_IREAD etc).
Only extract 4 bits of mode to get the file type
1992-05-06 11:38:27 +00:00
Guido van Rossum 3bc034bb79 Use bitwise ops instead of %; added some warnings and comments 1992-03-31 19:03:19 +00:00
Guido van Rossum bdfcfccbe5 New == syntax 1992-01-01 19:35:13 +00:00
Guido van Rossum 468c448bcc Added S_IMODE() to strip the file type (S_IFMT) from a mode. 1990-10-31 11:25:23 +00:00
Guido van Rossum 6b47ed1f9d Initial revision 1990-10-21 16:17:08 +00:00