> yaml.load('description: First heat hot template used to demonstrate the hot template sections.\n\n\n\nfoo: bar'
{'description': 'First heat hot template used to demonstrate the hot template sections.',
'foo': 'bar'}
With multi line char ">":
> yaml.load('description: >\n First heat hot template used to demonstrate the hot template sections.\n\n\n\nfoo: bar')
{'description': 'First heat hot template used to demonstrate the hot template sections.\n',
'foo': 'bar'}
It looks like a pyyaml bug.
With semicolon only:
> yaml.load( 'description: First heat hot template used to demonstrate the hot template sections. \n\n\n\ nfoo: bar'
{'description': 'First heat hot template used to demonstrate the hot template sections.',
'foo': 'bar'}
With multi line char ">":
> yaml.load( 'description: >\n First heat hot template used to demonstrate the hot template sections. \n\n\n\ nfoo: bar')
{'description': 'First heat hot template used to demonstrate the hot template sections.\n',
'foo': 'bar'}