On Wednesday, November 29, 2017 at 8:19:57 AM UTC-8, Massimiliano wrote: > > Try it without passing the args > > def test(): > print request.args(0) #return None > print request.args[0] #fail > > That's "fail" as in "ticket issued", because of array bounds error. Also, on the grammar level, that's an array reference and the other is a function ... and Anthony has posted about the additional parameters the function has.
/dps On Wed, Nov 29, 2017 at 5:16 PM, Yoel Benitez Fonseca <yben...@gmail.com > <javascript:>> wrote: > >> ¿What is the diff? >> >> -- >> Msc. Yoel Benítez Fonseca >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to the Google Groups >> "web2py-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > Massimiliano > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.