summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorClaudiu Popa <pcmanticore@gmail.com>2019-07-06 19:18:51 +0300
committerClaudiu Popa <pcmanticore@gmail.com>2019-07-06 19:18:51 +0300
commit807cbaa17c8a7066c673b35d3c87c97cdaeb3a5f (patch)
tree6dd56f723a2849bd9faaee41c8ee1324b5c03555 /astroid/rebuilder.py
parent4edf7190c9fdd2c749c60eb649e755ec19e5e9c8 (diff)
downloadastroid-git-807cbaa17c8a7066c673b35d3c87c97cdaeb3a5f.tar.gz
Fix formatting
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index 3181eaba..da8fd28f 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -133,8 +133,10 @@ class TreeRebuilder:
if (
node.body
and isinstance(node.body[0], self._parser_module.Expr)
- and isinstance(node.body[0].value,
- self._parser_module.Constant if PY38 else self._parser_module.Str)
+ and isinstance(
+ node.body[0].value,
+ self._parser_module.Constant if PY38 else self._parser_module.Str,
+ )
):
value = node.body[0].value
doc = value.value if PY38 else value.s