[Python-checkins] CVS: python/dist/src/Doc/lib xmldom.tex,1.18,1.19

Fred L. Drake fdrake@users.sourceforge.net
Fri, 30 Nov 2001 08:58:18 -0800


Update of /cvsroot/python/python/dist/src/Doc/lib
In directory usw-pr-cvs1:/tmp/cvs-serv32583/lib

Modified Files:
	xmldom.tex 
Log Message:
Minor adjustments to markup for the getDOMImplementation() description.

Index: xmldom.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/xmldom.tex,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** xmldom.tex	2001/11/30 15:37:33	1.18
--- xmldom.tex	2001/11/30 16:58:15	1.19
***************
*** 99,114 ****
  \end{funcdesc}
  
! \begin{funcdesc}{getDOMImplementation}{name = None, features = ()}
  Return a suitable DOM implementation. The \var{name} is either
  well-known, the module name of a DOM implementation, or
! \code{None}. If it is not \code{None}, imports the corresponding module and
! returns a \class{DOMImplementation} object if the import succeeds.  If
! no name is given, and if the environment variable \envvar{PYTHON_DOM} is
! set, this variable is used to find the implementation.
  
! If name is not given, consider the available implementations to find
! one with the required feature set. If no implementation can be found,
! raise an \exception{ImportError}. The features list must be a sequence of
! (feature, version) pairs which are passed to hasFeature.
  \end{funcdesc}
  
--- 99,117 ----
  \end{funcdesc}
  
! \begin{funcdesc}{getDOMImplementation}{\optional{name\optional{, features}}}
  Return a suitable DOM implementation. The \var{name} is either
  well-known, the module name of a DOM implementation, or
! \code{None}. If it is not \code{None}, imports the corresponding
! module and returns a \class{DOMImplementation} object if the import
! succeeds.  If no name is given, and if the environment variable
! \envvar{PYTHON_DOM} is set, this variable is used to find the
! implementation.
  
! If name is not given, this examines the available implementations to
! find one with the required feature set.  If no implementation can be
! found, raise an \exception{ImportError}.  The features list must be a
! sequence of \code{(\var{feature}, \var{version})} pairs which are
! passed to the \method{hasFeature()} method on available
! \class{DOMImplementation} objects.
  \end{funcdesc}