File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1286,13 +1286,13 @@ def sync_do_sum(
1286
1286
Total: {{ items|sum(attribute='price') }}
1287
1287
1288
1288
.. versionchanged:: 2.6
1289
- The `attribute` parameter was added to allow suming up over
1290
- attributes. Also the `start` parameter was moved on to the right.
1289
+ The `` attribute`` parameter was added to allow summing up over
1290
+ attributes. Also the `` start` ` parameter was moved on to the right.
1291
1291
"""
1292
1292
if attribute is not None :
1293
1293
iterable = map (make_attrgetter (environment , attribute ), iterable )
1294
1294
1295
- return sum (iterable , start )
1295
+ return sum (iterable , start ) # type: ignore[no-any-return, call-overload]
1296
1296
1297
1297
1298
1298
@async_variant (sync_do_sum ) # type: ignore
You can’t perform that action at this time.
0 commit comments