3498:60f663154789 | 3499:f2d4b02c7e88 |
---|---|
282 def __radd__(self, other): | 282 def __radd__(self, other): |
283 # Implementing 0+Numbers allows us to sum() a list of Numbers. | 283 # Implementing 0+Numbers allows us to sum() a list of Numbers. |
284 if other == 0: | 284 if other == 0: |
285 return self | 285 return self |
286 return NotImplemented | 286 return NotImplemented |
287 | |
288 # | |
289 # eflag: FileType = Python2 |