summaryrefslogtreecommitdiff
path: root/pyderasn.py
diff options
context:
space:
mode:
authorSergey Matveev <stargrave@stargrave.org>2020-02-10 12:53:12 +0300
committerSergey Matveev <stargrave@stargrave.org>2020-02-10 12:53:12 +0300
commita41b107369d403a134c34813ed88ea6808590640 (patch)
treeec3d0ac00090411e6fedc752903eb6c4f3d94682 /pyderasn.py
parent83ce5b68eeea0c3c4f0f662ee63d90cc15ab0e6c (diff)
downloadpyderasn-a41b107369d403a134c34813ed88ea6808590640.tar.xz
Reuse import
Diffstat (limited to 'pyderasn.py')
-rwxr-xr-xpyderasn.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyderasn.py b/pyderasn.py
index 1dbfce0..0d2d3f5 100755
--- a/pyderasn.py
+++ b/pyderasn.py
@@ -766,7 +766,7 @@ LENINDEF = b"\x80" # length indefinite mark
LENINDEF_PP_CHAR = "I" if PY2 else "∞"
NAMEDTUPLE_KWARGS = {} if PY2 else {"module": __name__}
SET01 = frozenset("01")
-DECIMALS = frozenset("0123456789")
+DECIMALS = frozenset(digits)
DECIMAL_SIGNS = ".,"