Gregory (Grisha) Trubetskoy
grisha at modpython.org
Thu Oct 3 16:58:01 EST 2002
Thanks, I'll add this in. BTW, the doc-html stuff automatically generated from .tex files in Doc. On Wed, 2 Oct 2002 rmunn at pobox.com wrote: > To go along with my earlier patch adding **kwargs functionality to the > publisher.py dispatcher, here's a documentation patch to keep the docs > up-to-date. > > -- > Robin Munn > rmunn at pobox.com > > > > --- doc-html/hand-pub-alg-args.html 2002-09-24 11:59:13.000000000 -0500 > +++ doc-html/hand-pub-alg-args.html.new 2002-10-02 08:52:51.000000000 -0500 > @@ -58,7 +58,11 @@ > object expects. This list is compared with names of fields from HTML > form data submitted by the client via <code>POST</code> or > <code>GET</code>. Values of fields whose names match the names of callable > -object arguments will be passed as strings. > +object arguments will be passed as strings. Any fields whose names do > +not match the names of callable argument objects will be silently dropped. > +But if the destination callable object has a <code>**kwargs</code> style > +argument, then fields with unmatched names will be passed in the > +<code>**kwargs</code> argument instead. > > <P> > If the destination is not callable or is a class, then its string > _______________________________________________ > Mod_python mailing list > Mod_python at modpython.org > http://www.modpython.org/mailman/listinfo/mod_python >
|