[pywin32-checkins] pywin32/AutoDuck makedfromi.py,1.4,1.5
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
|
From: Mark H. <mha...@us...> - 2004-09-07 03:03:07
|
Update of /cvsroot/pywin32/pywin32/AutoDuck In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17027 Modified Files: makedfromi.py Log Message: Get continuation lines for the module docstring. Index: makedfromi.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/AutoDuck/makedfromi.py,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** makedfromi.py 12 Jun 2004 13:35:50 -0000 1.4 --- makedfromi.py 7 Sep 2004 03:02:56 -0000 1.5 *************** *** 6,10 **** def GetComments(line, lineNo, lines): ! # Get the comment from this and continuos lines, if they exist. data = string.split(line, "//", 2) doc = "" --- 6,10 ---- def GetComments(line, lineNo, lines): ! # Get the comment from this and continuous lines, if they exist. data = string.split(line, "//", 2) doc = "" *************** *** 49,53 **** if len(extra)>1: modName = string.strip(extra[0][7:]) ! modDoc = string.strip(extra[1]) elif line[:10]=="// @pyswig": doc, lineNo = GetComments(line, lineNo, lines) --- 49,54 ---- if len(extra)>1: modName = string.strip(extra[0][7:]) ! modDoc, lineNo = GetComments(line, lineNo, lines) ! lineNo += 1 elif line[:10]=="// @pyswig": doc, lineNo = GetComments(line, lineNo, lines) |