title: Cannot import YAML from Ruamel.yaml
body: <p>I am trying to use ruamel.yaml and am using this code straight from the ruamel's documentation but I get the error:</p>
  
  <p>Traceback (most recent call last):
    File "ruameltest.py", line 12, in 
      yaml = YAML()
  NameError: name 'YAML' is not defined</p>
  
  <p>I am using Linux (RHEL)</p>
  
  <p>Python 3.4.9</p>
  
  <p>rpm package: python34-ruamel-yaml-0.13.14-1.el7.x86_64</p>
  
  <p>How could I fix this issue?</p>
  
  <pre><code>import sys
  from ruamel.yaml import YAML
  
  inp = """\
  # example
  name:
    # details
    family: Smith   # very common
    given: Alice    # one of the siblings
  """
  
  yaml = YAML()
  code = yaml.load(inp)
  code['name']['given'] = 'Bob'
  
  yaml.dump(code, sys.stdout)
  </code></pre>