@@ -757,31 +757,31 @@ def __gt__(self, other):
757757 This tries to implement this:
758758 http://www.w3.org/TR/sparql11-query/#modOrderBy
759759
760- In short, Literals with compatible data-types are orderd in value space,
761- i.e.
760+ In short, Literals with compatible data-types are ordered in value
761+ space, i.e.
762762 >>> from rdflib import XSD
763763
764- >>> Literal(1)> Literal(2) # int/int
764+ >>> Literal(1) > Literal(2) # int/int
765765 False
766- >>> Literal(2.0)> Literal(1) # double/int
766+ >>> Literal(2.0) > Literal(1) # double/int
767767 True
768768 >>> from decimal import Decimal
769769 >>> Literal(Decimal("3.3")) > Literal(2.0) # decimal/double
770770 True
771771 >>> Literal(Decimal("3.3")) < Literal(4.0) # decimal/double
772772 True
773- >>> Literal('b')> Literal('a') # plain lit/plain lit
773+ >>> Literal('b') > Literal('a') # plain lit/plain lit
774774 True
775- >>> Literal('b')> Literal('a', datatype=XSD.string) # plain lit/xsd:string
775+ >>> Literal('b') > Literal('a', datatype=XSD.string) # plain lit/xsd:str
776776 True
777777
778778 Incompatible datatype mismatches ordered by DT
779779
780- >>> Literal(1)> Literal("2") # int>string
780+ >>> Literal(1) > Literal("2") # int>string
781781 False
782782
783783 Langtagged literals by lang tag
784- >>> Literal("a", lang="en")> Literal("a", lang="fr")
784+ >>> Literal("a", lang="en") > Literal("a", lang="fr")
785785 False
786786 """
787787 if other is None :
0 commit comments