From 932710a4ceb4a37971938354adbe8182f1cf5562 Mon Sep 17 00:00:00 2001 From: Anubhav Chaudhary Date: Tue, 19 May 2020 11:32:56 +0530 Subject: [PATCH] Removed the code which made XSD.Decimal pretty --- rdflib/term.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/rdflib/term.py b/rdflib/term.py index 0dfac0565..70d4d86ae 100644 --- a/rdflib/term.py +++ b/rdflib/term.py @@ -1242,8 +1242,6 @@ def _literal_n3(self, use_plain=False, qname_callback=None): 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: