summaryrefslogtreecommitdiff
path: root/protocols.py
diff options
context:
space:
mode:
authorDavid Douard <david.douard@logilab.fr>2013-06-17 18:09:03 +0200
committerDavid Douard <david.douard@logilab.fr>2013-06-17 18:09:03 +0200
commit5b40f8a5d5e6a36fd966eb473d0897f3e2f8c547 (patch)
tree1597a5d9029ffa1d6ebe328e842f1dd9778290a0 /protocols.py
parent712b9ea501fcea3dce78de05e83083bfa31a7510 (diff)
downloadastroid-git-5b40f8a5d5e6a36fd966eb473d0897f3e2f8c547.tar.gz
rename the project astroid
Diffstat (limited to 'protocols.py')
-rw-r--r--protocols.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/protocols.py b/protocols.py
index 44984602..1f4f15a6 100644
--- a/protocols.py
+++ b/protocols.py
@@ -1,32 +1,32 @@
# copyright 2003-2013 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
# contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
#
-# This file is part of logilab-astng.
+# This file is part of astroid.
#
-# logilab-astng is free software: you can redistribute it and/or modify it
+# astroid is free software: you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by the
# Free Software Foundation, either version 2.1 of the License, or (at your
# option) any later version.
#
-# logilab-astng is distributed in the hope that it will be useful, but
+# astroid is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
# for more details.
#
# You should have received a copy of the GNU Lesser General Public License along
-# with logilab-astng. If not, see <http://www.gnu.org/licenses/>.
+# with astroid. If not, see <http://www.gnu.org/licenses/>.
"""this module contains a set of functions to handle python protocols for nodes
where it makes sense.
"""
__doctype__ = "restructuredtext en"
-from logilab.astng.exceptions import InferenceError, NoDefault
-from logilab.astng.node_classes import unpack_infer
-from logilab.astng.bases import copy_context, \
+from astroid.exceptions import InferenceError, NoDefault
+from astroid.node_classes import unpack_infer
+from astroid.bases import copy_context, \
raise_if_nothing_infered, yes_if_nothing_infered, Instance, YES
-from logilab.astng.nodes import const_factory
-from logilab.astng import nodes
+from astroid.nodes import const_factory
+from astroid import nodes
# unary operations ############################################################