[Zope] How best to copy and paste in pythonscript?

Andreas Jung lists at zopyx.com
Mon Aug 28 10:32:09 EDT 2006



--On 28. August 2006 07:24:40 -0700 Dennis Allison 
<allison at shasta.stanford.edu> wrote:

>
> Take a look at the actual code.  Th API requires a that a clipboard
> object acquired from the copy be sent to the paste.
>
>
>

This is not entirely true. If you look at the code you'll that you might 
pass None as clipboard object and the method will try to get the value
from the REQUEST. But in this case you must pass in the REQUEST as keyword 
parameter and not as positional argument.

But back to the original discussion API vs. implementation..To quote Dieter:
Unlike the API documentation which describes how things should be, the 
Docfinder documentation describes (at least partially) how they really are: 
complete and precise :-)

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20060828/98c82617/attachment.bin


More information about the Zope mailing list