summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorDaniƫl van Noord <13665637+DanielNoord@users.noreply.github.com>2023-02-13 09:04:00 +0100
committerGitHub <noreply@github.com>2023-02-13 09:04:00 +0100
commit2108ae51b516458243c249cf67301cb387e33afa (patch)
treebfc96507c1010dd5afed35a9bfb38057c566bec7 /astroid/rebuilder.py
parentd57e34fd24df75ddf9876f911c1665c9c36b8b05 (diff)
downloadastroid-git-2108ae51b516458243c249cf67301cb387e33afa.tar.gz
Update ``FormattedValue.postinit`` and its brain (#2029)
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py6
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