title: BeautifulSoup: print(s.find_all(class="title")) SyntaxError: invalid syntax
body: <p>Script:</p>
  
  <pre><code>#!/usr/bin/python3.2
  from bs4 import BeautifulSoup as bs
  
  content = '&lt;p class="title"&gt;hello world&lt;/p&gt;'
  
  s = bs(content)
  print(s.find_all(class="title"))
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>  File "bs.py", line 7
      print(s.find_all(class="title"))
                           ^
    SyntaxError: invalid syntax
  </code></pre>
  
  <p>BS Docs:</p>
  
  <pre><code>soup.find_all(id="link2")
  # [&lt;a class="sister" href="http://example.com/lacie" id="link2"&gt;Lacie&lt;/a&gt;]
  </code></pre>
  
  <p>Question:
  Why is there a syntax error?</p>