tools/docco/t_parse.py
branchpy33
changeset 3723 99aa837b6703
parent 3721 0c93dd8ff567
child 3789 5bc95e1f3dd4
--- a/tools/docco/t_parse.py	Sun Feb 17 12:13:56 2013 +0000
+++ b/tools/docco/t_parse.py	Tue Apr 30 14:28:14 2013 +0100
@@ -113,7 +113,7 @@
               raise ValueError("Marks must be single characters: "+repr(mark))
        # compile the regular expressions if needed
        self.marker_dict = marker_dict = {}
-       for (mark, rgex) in list(marker_to_regex_dict.items()):
+       for mark, rgex in marker_to_regex_dict.items():
            if type(rgex) == StringType:
               rgex = re.compile(rgex)
            marker_dict[mark] = rgex