[Zope-Checkins] CVS: Zope/lib/python/StructuredText - DocumentClass.py:1.39

Andreas Jung andreas@zope.com
Mon, 5 Nov 2001 17:23:30 -0500


Update of /cvs-repository/Zope/lib/python/StructuredText
In directory cvs.zope.org:/tmp/cvs-serv10125

Modified Files:
	DocumentClass.py 
Log Message:
Fixed syntax bug



=== Zope/lib/python/StructuredText/DocumentClass.py 1.38 => 1.39 ===
             else:
                 # the .. is somewhere else, ignore it
-                return (StructuredTextInnerLink(s[start2+1,end2-1],start2,end2))
+                return (StructuredTextInnerLink(s[start2+1:end2-1],start2,end2))
             return None
         elif expr2(s) and not expr1(s):
             start,end = expr2(s).span()