Home | Trees | Indices | Help |
|
---|
|
Logilab common library (aka Logilab's extension to the standard library). :type STD_BLACKLIST: tuple :var STD_BLACKLIST: directories ignored by default by the functions in this package which have to recurse into directories :type IGNORED_EXTENSIONS: tuple :var IGNORED_EXTENSIONS: file extensions that may usually be ignored :copyright: 2000-2009 `LOGILAB S.A. <http://www.logilab.fr>`_ (Paris, FRANCE), all rights reserved. :contact: http://www.logilab.org/project/logilab-common -- mailto:python-projects@logilab.org :license: `General Public License version 2 <http://www.gnu.org/licenses/old-licenses/gpl-2.0.html>`_
Version: 0.45.2
Submodules | |
|
Classes | |
attrdict A dictionary for which keys are also accessible as attributes. |
|
dictattr | |
nullobject |
Functions | |||
|
|||
|
Variables | |
IGNORED_EXTENSIONS =
|
|
STD_BLACKLIST =
|
|
USE_MX_DATETIME = True
|
|
__package__ =
|
Function Details |
Flatten a list of list with any level. If tr_func is not None, it should be a one argument function that'll be called on each final element. :rtype: list >>> flatten([1, [2, 3]]) [1, 2, 3] |
Given a list of lists, return a list of domain for each list to produce all combinations of possibles values. :rtype: list Example: >>> make_domains(['a', 'b'], ['c','d', 'e']) [['a', 'b', 'a', 'b', 'a', 'b'], ['c', 'c', 'd', 'd', 'e', 'e']] |
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Dec 27 17:18:40 2009 | http://epydoc.sourceforge.net |