(self, other)
| 2887 | def __str__(self): |
| 2888 | return oct(self) |
| 2889 | def __add__(self, other): |
| 2890 | return self.__class__(super(octlong, self).__add__(other)) |
| 2891 | __radd__ = __add__ |
| 2892 | self.assertEqual(str(octlong(3) + 5), "0o10") |
| 2893 | # (Note that overriding __radd__ here only seems to work |