add Table of Contents marks

svn: r6855
This commit is contained in:
Brian Matherly
2006-06-04 04:26:28 +00:00
parent 97cec77029
commit 5b88e0a716
10 changed files with 48 additions and 16 deletions

View File

@@ -1161,12 +1161,13 @@ class IndexMark:
"""
Defines a mark to be associated with text for indexing.
"""
def __init__(self, key="", type=INDEX_TYPE_ALP):
def __init__(self, key="", type=INDEX_TYPE_ALP, level=1):
"""
Initialize the object with default values, unless values are specified.
"""
self.type = type
self.key = key
self.type = type
self.level = level
#------------------------------------------------------------------------
#