1.1 --- a/lib/builtins.py Mon Feb 26 00:52:42 2007 +0100
1.2 +++ b/lib/builtins.py Mon Feb 26 00:53:19 2007 +0100
1.3 @@ -730,6 +730,42 @@
1.4
1.5 return str()
1.6
1.7 + def __lt__(self, other):
1.8 + if isinstance(other, str):
1.9 + return bool()
1.10 + else:
1.11 + return NotImplemented
1.12 +
1.13 + def __gt__(self, other):
1.14 + if isinstance(other, str):
1.15 + return bool()
1.16 + else:
1.17 + return NotImplemented
1.18 +
1.19 + def __le__(self, other):
1.20 + if isinstance(other, str):
1.21 + return bool()
1.22 + else:
1.23 + return NotImplemented
1.24 +
1.25 + def __ge__(self, other):
1.26 + if isinstance(other, str):
1.27 + return bool()
1.28 + else:
1.29 + return NotImplemented
1.30 +
1.31 + def __eq__(self, other):
1.32 + if isinstance(other, str):
1.33 + return bool()
1.34 + else:
1.35 + return NotImplemented
1.36 +
1.37 + def __ne__(self, other):
1.38 + if isinstance(other, str):
1.39 + return bool()
1.40 + else:
1.41 + return NotImplemented
1.42 +
1.43 def __len__(self):
1.44 return int()
1.45