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

2005-09-28 Thread Chris Withers
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
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


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

2005-09-28 Thread Victor Safronovich
Hello Chris Withers,

Wednesday, September 28, 2005, 7:01:35 PM, you wrote:

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

CW It's already out of synch in implementation, so I don't see any point in 
CW fixing this one detail...
   Ok,butthismodulemaybeusedforinterfaces   to
   MultiMapping,InstanceDict,TemplateDict.  And  i used this module for increase
   my experience about dtml-templates.

   Sorry for my English :(.

-- 
Best regards,
 Victor Safronovich
 NauMen.NauDoc.SoftwareDeveloper  http://www.naumen.ru

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


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

2005-09-28 Thread Chris Withers

Victor Safronovich wrote:

   Ok,butthismodulemaybeusedforinterfaces   to
   MultiMapping,InstanceDict,TemplateDict. 


I'm afraid I don't follow you...


And  i used this module for increase
   my experience about dtml-templates.


Sorry, but that's not a safe thing to do. If you want to find out how it 
works, you really need to read cDocumentTemplate.c nowadays...


Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )