[merge] Registry

Martin Pool mbp at canonical.com
Fri Oct 13 01:36:27 BST 2006


On 13/10/2006, at 10:30 , John Arbash Meinel wrote:

> ^- Thanks, I only learned about :raises: recently, and it certainly is
> the correct item here. Though I thought the syntax was:
> :raises ImportError:
> not
> :raises: ImportError

I think you're right.

>>> +    default_key = property(_get_default_key, _set_default_key,
>>> +                            doc="Current value of the default key."
>>> +                                "Can be set to any existing key.")
>>
>> OK but why?
>
> ^- Why can it be set to any existing key, or what does it actually do?

Well, I can see what it does from the code.  But why is it here, how  
might it be used, etc.  Just a sentence or two in the class docstring  
would do.

-- 
Martin







More information about the bazaar mailing list