[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#204818: missing documentation on objects and attributes



On Sun, Aug 10, 2003 at 02:21:02PM +0200, Matthias Klose wrote:

> A documentation of the objects that python-apt works with (including
> attributes and methods) is missing from the package (see the python
> library reference for examples ;).  As an intermediate solutution a
> README.Debian where to look for such information in the meantime would
> be nice.

Currently the source code and the examples are the only documentation.  It
follows a bit from the apt API, though, so reading that documentation would
probably help as well.

Unfortunately, because of the dynamic way that the object members are
accessed (look at the *Attr functions in the source), there are no
docstrings and dir() doesn't work.  I am thinking of changing it to
statically define things for this reason.

-- 
 - mdz



Reply to: