Commits

Georg Brandl committed c530f4d

Remove XXXes from the pgen2 code.

  • Participants
  • Parent commits 2c2e7bb

Comments (0)

Files changed (2)

sphinx/pycode/pgen2/driver.py

 
     def parse_tokens(self, tokens, debug=False):
         """Parse a series of tokens and return the syntax tree."""
-        # XXX Move the prefix computation into a wrapper around tokenize.
+        # X X X Move the prefix computation into a wrapper around tokenize.
         p = parse.Parser(self.grammar, self.convert)
         p.setup()
         lineno = 1

sphinx/pycode/pgen2/pgen.py

         first = {}
         for label in rawfirst:
             ilabel = self.make_label(c, label)
-            ##assert ilabel not in first # XXX failed on <> ... !=
+            ##assert ilabel not in first # X X X failed on <> ... !=
             first[ilabel] = 1
         return first
 
     def make_label(self, c, label):
-        # XXX Maybe this should be a method on a subclass of converter?
+        # X X X Maybe this should be a method on a subclass of converter?
         ilabel = len(c.labels)
         if label[0].isalpha():
             # Either a symbol name or a named token