[Zodb-checkins] CVS: Zope/lib/python/ZConfig/doc - zconfig.tex:1.66

Fred L. Drake, Jr. fred@zope.com
Mon, 24 Mar 2003 15:42:38 -0500


Update of /cvs-repository/Zope/lib/python/ZConfig/doc
In directory cvs.zope.org:/tmp/cvs-serv2023/doc

Modified Files:
	zconfig.tex 
Log Message:
Remove the "constructor" and "key-value" datatypes; these are no longer used
and are of questionable value.  "constructor" is also generally unsafe;
applications that need it can provide their own version of this if necessary.


=== Zope/lib/python/ZConfig/doc/zconfig.tex 1.65 => 1.66 ===
--- Zope/lib/python/ZConfig/doc/zconfig.tex:1.65	Mon Mar 24 14:43:19 2003
+++ Zope/lib/python/ZConfig/doc/zconfig.tex	Mon Mar 24 15:42:07 2003
@@ -708,15 +708,6 @@
   example, \samp{128MB}).  Suffixes are case insensitive and may be
   \samp{KB}, \samp{MB}, or \samp{GB}
 
-\term{\datatype{constructor}}
-  Parse value in the form \samp{fn('1', '2', kw1='a', kw2='b')} into a
-  3-tuple where the first element is the string \code{'fn'}, the 2nd
-  element is the list \code{['1', '2']}, and the 3rd element is the
-  dictionary \code{\{'kw1': 'a', 'kw2': 'b'\}}.  This is useful when
-  representing a Python-style constructor as a value.  Python syntax
-  rules are enforced, but only constants are allowed as positional and
-  keyword arguments.  The 3-tuple is returned.
-
 \term{\datatype{existing-dirpath}}
   Validates that the directory portion of a pathname exists.  For
   example, if the value provided is \file{/foo/bar}, \file{/foo} must
@@ -759,10 +750,6 @@
   address.  If the first character is not a digit, the value 
   is assumed to be a hostname.  Hostnames are converted to lower
   case.
-
-\term{\datatype{key-value}}
-  Parse a value in the form \code{'A B'} into the list \code{['A',
-  'B']}.  Returns the list.
 
 \term{\datatype{locale}}
   Any valid locale specifier accepted by the available