diff options
| author | Emile Anclin <emile.anclin@logilab.fr> | 2009-03-17 10:08:15 +0100 |
|---|---|---|
| committer | Emile Anclin <emile.anclin@logilab.fr> | 2009-03-17 10:08:15 +0100 |
| commit | bcd9bfbaa4a2f3562950ea7d4a46336ddbd84372 (patch) | |
| tree | 59f4347d5d1b8b81664e3eee691501bc247fe522 /nodes.py | |
| parent | 817ef1ed6869f8d2689d2742b024b393565a49fb (diff) | |
| download | astroid-git-bcd9bfbaa4a2f3562950ea7d4a46336ddbd84372.tar.gz | |
missing monkey patch
--HG--
branch : _ast_compat
Diffstat (limited to 'nodes.py')
| -rw-r--r-- | nodes.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -415,11 +415,11 @@ def if_block_range(node, lineno): If.block_range = if_block_range -def set_line_info(self, lastchild): +def if_set_line_info(self, lastchild): self.fromlineno = self.lineno self.tolineno = lastchild.tolineno self.blockstart_tolineno = self.test.tolineno -If.set_line_info +If.set_line_info = if_set_line_info def try_except_block_range(node, lineno): """handle block line numbers range for try/except statements""" |
