Commits

Anonymous committed 680785d

Fixed an error in the new filepos thing.

Comments (0)

Files changed (1)

 
 class Filepos(collections.namedtuple("FileposTuple", "filename line offset")):
     def __new__(_cls, filename, line=None, offset=None):
-        super(_cls, Filepos).__new__(_cls, filename, line, offset)
+        return super(_cls, Filepos).__new__(_cls, filename, line, offset)
         
     def __str__(self):
         return self.toString()