mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
more __all__ updates
This commit is contained in:
parent
e78b92a062
commit
eccd02a40d
12 changed files with 34 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue