oops

On Jun 5, 11:53 pm, David Watson <davidthewat...@gmail.com> wrote:
> Hi, in the services section on this page:
>
> http://www.web2py.com/examples/default/tools
>
> I believe the intent of the example is actually something closer to
> the following:
>
> def myfunction(a,b):
>     return int(a)+int(b)
>
> As it stands, when called with the parameters encoded as demonstrated:
>
> http://127.0.0.1:8000/sugar/default/call/run/myfunction/2/3
>
> The return is:
>
> 23
>
> I think this should be:
>
> 5
>
> Cheers,
> David
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to