summaryrefslogtreecommitdiff
path: root/inference.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2011-01-05 14:52:00 +0100
committerSylvain Thénault <sylvain.thenault@logilab.fr>2011-01-05 14:52:00 +0100
commit44c584702ed7ae46ac50a8accf55b5a2698505d3 (patch)
tree5a1a94cc1171ff6ed46638f8ded4e211ffc2b8ac /inference.py
parentade1ff5ecd0365bd376001691b73ea7a594b0208 (diff)
downloadastroid-git-44c584702ed7ae46ac50a8accf55b5a2698505d3.tar.gz
remove some code no more necessary since we don't support anymore python < 2.5
Diffstat (limited to 'inference.py')
-rw-r--r--inference.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/inference.py b/inference.py
index 27c2aa42..edc71839 100644
--- a/inference.py
+++ b/inference.py
@@ -20,18 +20,11 @@
"""this module contains a set of functions to handle inference on astng trees
"""
-from __future__ import generators
-
__doctype__ = "restructuredtext en"
from itertools import chain
import sys
-try:
- GeneratorExit # introduced in py2.5
-except NameError:
- class GeneratorExit(Exception): pass
-
from logilab.astng import nodes
from logilab.astng.manager import ASTNGManager