python: remove an unneeded normalize_mark_list call

`callspec.mark` is already `List[Mark]` so no need to normalize it.
This commit is contained in:
Ran Benita 2021-10-06 22:39:49 +03:00
parent 4c8fb6f0af
commit 4e5fb520b6
1 changed files with 1 additions and 1 deletions

View File

@ -1666,7 +1666,7 @@ class Function(PyobjMixin, nodes.Item):
# feel free to cry, this was broken for years before
# and keywords can't fix it per design
self.keywords[mark.name] = mark
self.own_markers.extend(normalize_mark_list(callspec.marks))
self.own_markers.extend(callspec.marks)
if keywords:
self.keywords.update(keywords)