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

Chris Withers chris at simplistix.co.uk
Wed Sep 28 08:48:20 EDT 2005


Log message for revision 38664:
  Fix incorrect docstring.

Changed:
  U   Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c

-=-
Modified: Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c
===================================================================
--- Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c	2005-09-28 11:19:50 UTC (rev 38663)
+++ Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c	2005-09-28 12:48:20 UTC (rev 38664)
@@ -420,10 +420,11 @@
   {"_pop",  (PyCFunction) MM_pop,  0,
    "_pop() -- Remove and return the last data source added"}, 
   {"getitem",  (PyCFunction) MM_get,  METH_VARARGS,
-   "getitem(key[,call]) -- Get a value\n\n"
-   "Normally, callable objects that can be called without arguments are\n"
-   "called during retrieval. This can be suppressed by providing a\n"
-   "second argument that is false.\n"
+   "getitem(key[,call]) -- Get a value from the MultiDict\n\n"
+   "If call is true, callable objects that can be called without arguments are\n"
+   "called during retrieval.\n"
+   "If call is false, the object will be returns without any attempt to call it.\n"
+   "If not specified, call is false by default.\n"
   }, 
   {"has_key",  (PyCFunction) MM_has_key,  METH_VARARGS,
    "has_key(key) -- Test whether the mapping has the given key"



More information about the Zope-Checkins mailing list