diff options
author | Sylvain <syt@logilab.fr> | 2006-11-08 17:00:02 +0100 |
---|---|---|
committer | Sylvain <syt@logilab.fr> | 2006-11-08 17:00:02 +0100 |
commit | 5152958ecda94ba39ed36fbc625bc5cd39ebab4d (patch) | |
tree | ccba85222bad5ff9a63c2ed95b216a2ef27c7724 /tree.py | |
parent | 907582a18893d133346ab235412609824b25b7bd (diff) | |
download | logilab-common-5152958ecda94ba39ed36fbc625bc5cd39ebab4d.tar.gz |
reorganize, deprecation warning for deprecated stuff, remove old deprecated function/methods
Diffstat (limited to 'tree.py')
-rw-r--r-- | tree.py | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -1,4 +1,4 @@ -# Copyright (c) 2000-2003 LOGILAB S.A. (Paris, FRANCE). +# Copyright (c) 2003-2006 LOGILAB S.A. (Paris, FRANCE). # http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This program is free software; you can redistribute it and/or modify it under @@ -17,12 +17,8 @@ base class to represent tree structure """ -__revision__ = "$Id: tree.py,v 1.24 2006-02-24 10:40:21 nico Exp $" - import sys -from warnings import warn -from logilab.common import deprecated_function from logilab.common.visitor import VisitedMixIn, FilteredIterator, no_filter ## Exceptions ################################################################# @@ -186,8 +182,6 @@ class Node : else: return [self] - leafs = deprecated_function(leaves) # backward compatibility - def flatten(self, _list=None): """ return a list with all the nodes descendant from this node |