summaryrefslogtreecommitdiff
path: root/src/zope/i18n/format.py
diff options
context:
space:
mode:
authorStephan Richter <stephan.richter@gmail.com>2017-05-23 09:35:12 -0400
committerStephan Richter <stephan.richter@gmail.com>2017-05-23 09:35:12 -0400
commit4fb98bb3afb478bc8bebff6b6c8194cdccd4a9f7 (patch)
treede1bb19863263e4492e48841275f959b64f0a805 /src/zope/i18n/format.py
parente2e57f3e912730c6256ef8bfc1b4e04c15185a84 (diff)
downloadzope-i18n-4fb98bb3afb478bc8bebff6b6c8194cdccd4a9f7.tar.gz
Use an available number to use.
Diffstat (limited to 'src/zope/i18n/format.py')
-rw-r--r--src/zope/i18n/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zope/i18n/format.py b/src/zope/i18n/format.py
index 1b296b0..055869e 100644
--- a/src/zope/i18n/format.py
+++ b/src/zope/i18n/format.py
@@ -331,7 +331,7 @@ class NumberFormat(object):
if rounding:
max_precision = len(pattern)
else:
- max_precision = sys.maxint
+ max_precision = sys.maxsize
min_precision = pattern.count('0')
precision = len(fraction)
roundInt = False