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:
parent
4c8fb6f0af
commit
4e5fb520b6
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue