[Docstring-checkins] CVS: dps/dps utils.py,1.10,1.11
Status: Pre-Alpha
Brought to you by:
goodger
From: David G. <go...@us...> - 2002-01-30 04:47:05
|
Update of /cvsroot/docstring/dps/dps In directory usw-pr-cvs1:/tmp/cvs-serv21996/dps/dps Modified Files: utils.py Log Message: - Updated new document Node creation protocol. Index: utils.py =================================================================== RCS file: /cvsroot/docstring/dps/dps/utils.py,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** utils.py 2002/01/16 02:45:22 1.10 --- utils.py 2002/01/30 04:47:02 1.11 *************** *** 69,72 **** --- 69,78 ---- + def newdocument(languagecode='en', warninglevel=1, errorlevel=3, + warningstream=None): + reporter = Reporter(warninglevel, errorlevel) + document = nodes.document(languagecode='en', reporter=reporter) + return document + def parseattributes(lines, attributespec): """ |