[Zope-dev] Re: [Zope-Checkins] SVN: Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c Fix incorrect docstring.

Chris Withers chris at simplistix.co.uk
Wed Sep 28 09:01:35 EDT 2005


Nah, I refer you instead to the docstring at the top of that file which 
says it's no longer used and is for reference only.

It's already out of synch in implementation, so I don't see any point in 
fixing this one detail...

cheers,

Chris

Victor Safronovich wrote:
> Hello Chris Withers,
> 
> Wednesday, September 28, 2005, 6:48:20 PM, you wrote:
> 
> CW> Log message for revision 38664:
> CW>   Fix incorrect docstring.
> 
> CW> Changed:
> CW>   U   Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c
> 
> CW> -=-
> CW> Modified: Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c
> CW> ===================================================================
> CW> ---
> CW> Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c	2005-09-28
> CW> 11:19:50 UTC (rev 38663)
> CW> +++
> CW> Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c	2005-09-28
> CW> 12:48:20 UTC (rev 38664)
> CW> @@ -420,10 +420,11 @@
> CW>    {"_pop",  (PyCFunction) MM_pop,  0,
> CW>     "_pop() -- Remove and return the last data source added"}, 
> CW>    {"getitem",  (PyCFunction) MM_get,  METH_VARARGS,
> CW> -   "getitem(key[,call]) -- Get a value\n\n"
> CW> -   "Normally, callable objects that can be called without arguments are\n"
> CW> -   "called during retrieval. This can be suppressed by providing a\n"
> CW> -   "second argument that is false.\n"
> CW> +   "getitem(key[,call]) -- Get a value from the MultiDict\n\n"
> CW> +   "If call is true, callable objects that can be called without arguments are\n"
> CW> +   "called during retrieval.\n"
> CW> +   "If call is false, the object will be returns without any attempt to call it.\n"
> CW> +   "If not specified, call is false by default.\n"
>      please change pDocumentTemplate.py, where _call_ is true by default.
> 

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk


More information about the Zope-Dev mailing list