Ignore:
Timestamp:
03/18/06 08:37:09 (9 years ago)
Author:
xi
Message:

Back to work :). Rename markers to marks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pyyaml/trunk/lib/yaml/reader.py

    r52 r116  
    44# We define two classes here. 
    55# 
    6 #   Marker(source, line, column) 
     6#   Mark(source, line, column) 
    77# It's just a record and its only use is producing nice error messages. 
    88# Parser does not use it for any other purposes. 
     
    1818__all__ = ['Reader', 'ReaderError'] 
    1919 
    20 from error import YAMLError, Marker 
     20from error import YAMLError, Mark 
    2121 
    2222import codecs, re 
     
    143143                self.column += 1 
    144144 
    145     def get_marker(self): 
     145    def get_mark(self): 
    146146        if self.stream is None: 
    147             return Marker(self.name, self.line, self.column, 
     147            return Mark(self.name, self.line, self.column, 
    148148                    self.buffer, self.pointer) 
    149149        else: 
    150             return Marker(self.name, self.line, self.column, None, None) 
     150            return Mark(self.name, self.line, self.column, None, None) 
    151151 
    152152    def determine_encoding(self): 
Note: See TracChangeset for help on using the changeset viewer.