summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnubhav Chaudhary <anubhav16013@iiitd.ac.in>2020-05-19 11:32:56 +0530
committerAnubhav Chaudhary <anubhav16013@iiitd.ac.in>2020-05-19 11:32:56 +0530
commit932710a4ceb4a37971938354adbe8182f1cf5562 (patch)
treed46fd8da7a082019eca9f526807b8c0b4e7f074f
parentc7c4e15a4ad021d8c6ae518b435b0841cf488e9a (diff)
downloadrdflib-932710a4ceb4a37971938354adbe8182f1cf5562.tar.gz
Removed the code which made XSD.Decimal pretty
-rw-r--r--rdflib/term.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/rdflib/term.py b/rdflib/term.py
index 0dfac056..70d4d86a 100644
--- a/rdflib/term.py
+++ b/rdflib/term.py
@@ -1242,8 +1242,6 @@ class Literal(Identifier):
return sub("\\.?0*e", "e", u'%e' % float(self))
elif self.datatype == _XSD_DECIMAL:
s = '%s' % self
- # if '.' not in s:
- # s += '.0'
return s
elif self.datatype == _XSD_BOOLEAN: