quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@pobox.com
Subject Documentation patch for kwargs change in publisher.py
Date Wed, 02 Oct 2002 13:59:13 GMT
To go along with my earlier patch adding **kwargs functionality to the
publisher.py dispatcher, here's a documentation patch to keep the docs

Robin Munn

--- 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.
 If the destination is not callable or is a class, then its string

View raw message