diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-07-06 19:18:51 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-07-06 19:18:51 +0300 |
commit | 807cbaa17c8a7066c673b35d3c87c97cdaeb3a5f (patch) | |
tree | 6dd56f723a2849bd9faaee41c8ee1324b5c03555 /astroid/rebuilder.py | |
parent | 4edf7190c9fdd2c749c60eb649e755ec19e5e9c8 (diff) | |
download | astroid-git-807cbaa17c8a7066c673b35d3c87c97cdaeb3a5f.tar.gz |
Fix formatting
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r-- | astroid/rebuilder.py | 6 |
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 |