diff MoinMoin/wikiutil.py @ 2510:f6a777f45559

clarify None behaviour for keys, add tests
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sun, 22 Jul 2007 16:10:11 +0200
parents a55a20b092a2
children e85e1ebb3459
line wrap: on
line diff
--- a/MoinMoin/wikiutil.py	Sun Jul 22 16:08:37 2007 +0200
+++ b/MoinMoin/wikiutil.py	Sun Jul 22 16:10:11 2007 +0200
@@ -1206,8 +1206,9 @@
     keyword args) can both be quoted, when keyword args are enabled
     then the name of a keyword argument can also be quoted.
 
-    Arguments that are not given are returned as None, while the
-    empty string can be achieved by quoting it.
+    Values that are not given are returned as None, while the
+    empty string as a value can be achieved by quoting it; keys
+    are never returned as None.
 
     If a name or value does not start with a quote, then the quote
     character looses its special meaning for that name or value.