This commit is contained in:
Kian Meng, Ang
2021-12-27 20:23:15 +08:00
committed by GitHub
parent 7a42db2bf0
commit 55debfad1f
24 changed files with 35 additions and 34 deletions

View File

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