diff options
Diffstat (limited to 'constructor.py')
-rw-r--r-- | constructor.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/constructor.py b/constructor.py index aa77b47..b67a748 100644 --- a/constructor.py +++ b/constructor.py @@ -423,7 +423,7 @@ class SafeConstructor(BaseConstructor): return sign * self.inf_value elif value_s == '.nan': return self.nan_value - elif ':' in value_s: + elif self.resolver.processing_version != (1, 2) and ':' in value_s: digits = [float(part) for part in value_s.split(':')] digits.reverse() base = 1 |