diff options
author | Anubhav Chaudhary <anubhav16013@iiitd.ac.in> | 2020-05-19 11:32:56 +0530 |
---|---|---|
committer | Anubhav Chaudhary <anubhav16013@iiitd.ac.in> | 2020-05-19 11:32:56 +0530 |
commit | 932710a4ceb4a37971938354adbe8182f1cf5562 (patch) | |
tree | d46fd8da7a082019eca9f526807b8c0b4e7f074f | |
parent | c7c4e15a4ad021d8c6ae518b435b0841cf488e9a (diff) | |
download | rdflib-932710a4ceb4a37971938354adbe8182f1cf5562.tar.gz |
Removed the code which made XSD.Decimal pretty
-rw-r--r-- | rdflib/term.py | 2 |
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: |