Konstantin Kolinko wrote on Sun, Mar 11, 2012 at 02:45:03 +0400:
> 3. Regarding OP's example:
> 
> Is there a point of calling list() without passing a callback function into 
> it?
> 
> The _list_wrapper() does nothing if your callback ("self._list") is
> not initialized.

At the C level the callback isn't allow to be NULL.  At the bindings
level I suppose that list() without a callback could serve as an
existence test (it should error if the target doesn't exist).

Though 'info' is probably more efficient for that.

Daniel

Reply via email to