summaryrefslogtreecommitdiffstats
path: root/Lib/fpformat.py
Commit message (Collapse)AuthorAgeFilesLines
* Raise statement normalization in Lib/.Collin Winter2007-08-301-1/+1
|
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-1/+1
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Replace backticks with repr() or "%r"Walter Dörwald2004-02-121-3/+3
| | | | From SF patch #852334.
* more __all__ updatesSkip Montanaro2001-01-201-0/+2
|
* Whitespace normalization.Tim Peters2001-01-141-1/+0
|
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-103/+103
| | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
* Mass patch by Ka-Ping Yee:Guido van Rossum2000-02-021-9/+9
| | | | | | | | | | | 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).
* Fix for PR#74 -- use int() instead of eval() to extract the exponent.Guido van Rossum1999-09-101-1/+1
|
* Define NotANumber as a subclass of ValueError when using class-basedFred Drake1999-06-291-2/+6
| | | | | | | exceptions. When raising NotANumber, pass the string that failed as the exception value.
* re -> regex conversions by Sjoerd.Guido van Rossum1997-10-241-6/+6
|
* Convert all remaining *simple* cases of regex usage to re usage.Guido van Rossum1997-10-221-7/+6
|
* Initial revisionGuido van Rossum1992-03-151-0/+138