Changes between Initial Version and Version 1 of Ticket #58


Ignore:
Timestamp:
08/21/07 16:46:20 (7 years ago)
Author:
xi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #58 – Description

    initial v1  
    1  
     1{{{ 
    22a = yaml.load(""" 
    33   name: John 
     
    77print a 
    88{'name': 'John', 'number': 111} 
     9}}} 
    910 
    1011ok so if I do: 
    1112 
     13{{{ 
    1214print yaml.dump(a)  
    1315{name: John, number: 11} 
     16}}} 
    1417 
    1518and  
    1619 
     20{{{ 
    1721print yaml.dump(a, default_flow_style=False) 
    1822name: John 
    1923number: 111 
     24}}} 
    2025 
    2126My question is, is there a variable in the code that could make the block style the default output without having to reference the style preference all the time?