3506:d85fadb263a0 | 3515:1b8381afe38f |
---|---|
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 |