more __all__ updates

This commit is contained in:
Skip Montanaro 2001-01-20 23:34:12 +00:00
parent e78b92a062
commit eccd02a40d
12 changed files with 34 additions and 0 deletions

View file

@ -13,6 +13,8 @@ digits_behind: number of digits behind the decimal point
import re
__all__ = ["fix","sci","NotANumber"]
# Compiled regular expression to "decode" a number
decoder = re.compile(r'^([-+]?)0*(\d*)((?:\.\d*)?)(([eE][-+]?\d+)?)$')
# \0 the whole thing