summaryrefslogtreecommitdiff
path: root/astroid/manager.py
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-07-10 11:48:53 -0400
committerCeridwen <ceridwenv@gmail.com>2015-07-10 11:48:53 -0400
commitf75eecb94101ee67995b4066971a3d8b8363fe65 (patch)
tree6114adf807788325dc44667446e5d47b7a9b37f4 /astroid/manager.py
parentc301d737567bed9c54ea95f73f8f681c99d102cf (diff)
downloadastroid-f75eecb94101ee67995b4066971a3d8b8363fe65.tar.gz
Refactor node classes to have constructors and change some names.
I corrected the spelling of 'infered' to 'infered' and changed some to make them more consistent with the built-in ast module and to read better in English. I created aliases with proxy objects to maintain backwards compatibility. I also refactored the node classes so that they have __init__ and postinit functions. The postinit function has to be called after the creation of a parent with the instances of its children because the node __init__ functions have to take a parent instance to maintain the doubly-linked structure of the AST. This involved moving considerable amounts of node-construction logic from rebuilder.py to node_classes.py and scoped_nodes.py.
Diffstat (limited to 'astroid/manager.py')
-rw-r--r--astroid/manager.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/astroid/manager.py b/astroid/manager.py
index f0bde09..a1bda43 100644
--- a/astroid/manager.py
+++ b/astroid/manager.py
@@ -19,8 +19,6 @@
possible by providing a class responsible to get astroid representation
from various source and using a cache of built modules)
"""
-from __future__ import print_function
-
__docformat__ = "restructuredtext en"
import collections