diff options
author | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-02-13 09:04:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-13 09:04:00 +0100 |
commit | 2108ae51b516458243c249cf67301cb387e33afa (patch) | |
tree | bfc96507c1010dd5afed35a9bfb38057c566bec7 /astroid/rebuilder.py | |
parent | d57e34fd24df75ddf9876f911c1665c9c36b8b05 (diff) | |
download | astroid-git-2108ae51b516458243c249cf67301cb387e33afa.tar.gz |
Update ``FormattedValue.postinit`` and its brain (#2029)
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r-- | astroid/rebuilder.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py index f0acac39..0407dbfb 100644 --- a/astroid/rebuilder.py +++ b/astroid/rebuilder.py @@ -1442,9 +1442,9 @@ class TreeRebuilder: parent=parent, ) newnode.postinit( - self.visit(node.value, newnode), - node.conversion, - self.visit(node.format_spec, newnode), + value=self.visit(node.value, newnode), + conversion=node.conversion, + format_spec=self.visit(node.format_spec, newnode), ) return newnode |