| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 99b4e3c commit d30e6cb
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,7 +141,10 @@ def __lt__(self, other: object) -> bool: | |||
| 141 | 141 | return NotImplemented | |
| 142 | 142 | ||
| 143 | 143 | def __le__(self, other: object) -> bool: | |
| 144 | - return self.__lt__(other) or self.__eq__(other) | ||
| 144 | + if isinstance(other, Rut): | ||
| 145 | + return self.__lt__(other) or self.__eq__(other) | ||
| 146 | + else: | ||
| 147 | + return NotImplemented | ||
| 145 | 148 | ||
| 146 | 149 | def __eq__(self, other: object) -> bool: | |
| 147 | 150 | if isinstance(other, Rut): | |
| Back | FazBrowse Home | New Git URL |
0 commit comments