diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2010-07-05 08:10:02 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2010-07-05 08:10:02 +0200 |
commit | c85af9cce2a3115da3dfaa45d61e3be2d1f51ab4 (patch) | |
tree | beaa7d63bd7aa2a17dc8ee74c2191f50efc77066 | |
parent | fd8a5e4c8b7121b2e054d191779043d6ab7f34d0 (diff) | |
download | astroid-git-c85af9cce2a3115da3dfaa45d61e3be2d1f51ab4.tar.gz |
copyright cleanup
--HG--
branch : stable
-rw-r--r-- | inference.py | 13 | ||||
-rw-r--r-- | node_classes.py | 18 | ||||
-rw-r--r-- | protocols.py | 12 | ||||
-rw-r--r-- | scoped_nodes.py | 12 |
4 files changed, 1 insertions, 54 deletions
diff --git a/inference.py b/inference.py index 00e99ec6..20bd4387 100644 --- a/inference.py +++ b/inference.py @@ -1,15 +1,3 @@ -# This program 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 of the License, or (at your option) any later -# version. -# -# This program 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 -# this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # copyright 2003-2010 Sylvain Thenault, all rights reserved. @@ -30,7 +18,6 @@ # 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/>. """this module contains a set of functions to handle inference on astng trees - """ from __future__ import generators diff --git a/node_classes.py b/node_classes.py index 896c3a19..c5e4dcec 100644 --- a/node_classes.py +++ b/node_classes.py @@ -1,16 +1,3 @@ -# -*- coding: utf-8 -*- -# This program 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 of the License, or (at your option) any later -# version. -# -# This program 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 -# this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # copyright 2003-2010 Sylvain Thenault, all rights reserved. @@ -30,11 +17,9 @@ # # 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/>. +"""Module for some node classes. More nodes in scoped_nodes.py """ -Module for some node classes. More nodes in scoped_nodes.py - -""" from logilab.common.compat import chain, imap from logilab.astng import NoDefault @@ -57,7 +42,6 @@ def unpack_infer(stmt, context=None): return chain(*imap(unpack_infer, stmt.infer(context))) - def are_exclusive(stmt1, stmt2, exceptions=None): """return true if the two given statements are mutually exclusive diff --git a/protocols.py b/protocols.py index 22163b58..59295b88 100644 --- a/protocols.py +++ b/protocols.py @@ -1,15 +1,3 @@ -# This program 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 of the License, or (at your option) any later -# version. -# -# This program 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 -# this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # copyright 2003-2010 Sylvain Thenault, all rights reserved. diff --git a/scoped_nodes.py b/scoped_nodes.py index 343cee5e..d6595b28 100644 --- a/scoped_nodes.py +++ b/scoped_nodes.py @@ -1,15 +1,3 @@ -# This program 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 of the License, or (at your option) any later -# version. -# -# This program 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 -# this program; if not, write to the Free Software Foundation, Inc., -# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # copyright 2003-2010 Sylvain Thenault, all rights reserved. |