summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Drozd <nicholasdrozd@gmail.com>2018-06-28 16:47:22 -0500
committerClaudiu Popa <pcmanticore@gmail.com>2018-06-28 14:47:22 -0700
commitda12d5011db32e5b76fac9a3a5c76800326038cd (patch)
tree69a79cebff3a399f0b6e7e13e8a4450b804045de
parentc5314076a38443d5be1b13567838920bfeaf27cd (diff)
downloadastroid-git-da12d5011db32e5b76fac9a3a5c76800326038cd.tar.gz
Add missing TryExcept multi-line block field (#571)
This was overlooked in the initial implementation of _multi_line_block_fields.
-rw-r--r--astroid/node_classes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/node_classes.py b/astroid/node_classes.py
index 52f13db4..c5a469fd 100644
--- a/astroid/node_classes.py
+++ b/astroid/node_classes.py
@@ -3860,7 +3860,7 @@ class TryExcept(mixins.MultiLineBlockMixin, mixins.BlockRangeMixIn, Statement):
<TryExcept l.2 at 0x7f23b2e9d908>
"""
_astroid_fields = ('body', 'handlers', 'orelse',)
- _multi_line_block_fields = ('body', 'orelse')
+ _multi_line_block_fields = ('body', 'handlers', 'orelse')
body = None
"""The contents of the block to catch exceptions from.