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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---