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(
12861286 Total: {{ items|sum(attribute='price') }}
12871287
12881288 .. 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.
12911291 """
12921292 if attribute is not None :
12931293 iterable = map (make_attrgetter (environment , attribute ), iterable )
12941294
1295- return sum (iterable , start )
1295+ return sum (iterable , start ) # type: ignore[no-any-return, call-overload]
12961296
12971297
12981298@async_variant (sync_do_sum ) # type: ignore
You can’t perform that action at this time.
0 commit comments