summaryrefslogtreecommitdiffstats
path: root/Lib/decimal.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index ffe6e9e..cdb88bc 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -588,7 +588,7 @@ class Decimal(object):
# From a string
# REs insist on real strings, so we can too.
- if isinstance(value, basestring):
+ if isinstance(value, str):
if _isinfinity(value):
self._exp = 'F'
self._int = (0,)