Skip to content

Commit

Permalink
Removed the code which made XSD.Decimal pretty
Browse files Browse the repository at this point in the history
  • Loading branch information
achaudhary997 committed May 19, 2020
1 parent c7c4e15 commit 932710a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions rdflib/term.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 932710a

Please sign in to comment.