Changeset 348


Ignore:
Timestamp:
03/28/09 08:49:52 (6 years ago)
Author:
xi
Message:

Fixed the Pyrex implementation of Mark class.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/ext/_yaml.pyx

    r343 r348  
    7979        self.pointer = pointer 
    8080 
    81 #    def get_snippet(self): 
    82 #        return None 
    83 # 
    84 #    def __str__(self): 
    85 #        where = "  in \"%s\", line %d, column %d"   \ 
    86 #                % (self.name, self.line+1, self.column+1) 
    87 #        return where 
    88 # 
     81    def get_snippet(self): 
     82        return None 
     83 
     84    def __str__(self): 
     85        where = "  in \"%s\", line %d, column %d"   \ 
     86                % (self.name, self.line+1, self.column+1) 
     87        return where 
     88 
    8989#class YAMLError(Exception): 
    9090#    pass 
Note: See TracChangeset for help on using the changeset viewer.