Ignore:
Timestamp:
11/30/08 08:35:48 (5 years ago)
Author:
xi
Message:

determine_chomp -> determine_block_hints

File:
1 edited

Legend:

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

    r299 r300  
    10081008        self.write_indicator(u'"', False) 
    10091009 
    1010     def determine_chomp(self, text): 
     1010    def determine_block_hints(self, text): 
    10111011        hints = u'' 
    10121012        if text and text[0] in u' \n\x85\u2028\u2029': 
     
    10741074 
    10751075    def write_literal(self, text): 
    1076         chomp = self.determine_chomp(text) 
     1076        chomp = self.determine_block_hints(text) 
    10771077        self.write_indicator(u'|'+chomp, True) 
    10781078        self.write_indent() 
Note: See TracChangeset for help on using the changeset viewer.