title: Bytes message argument error
body: <p>I can't figure out what the 'bytes' method is complaining about. In the code below, i am trying to generate an authentication key for my client and i keep getting this error [1]</p>
  
  <pre><code>import hmac
  import hashlib
  import base64
  
  message = bytes("Message", 'utf-8') # errors here
  secret = bytes("secret", 'utf-8')
  
  signature = base64.b64encode(hmac.new(secret, message, digestmod=hashlib.sha256).digest());
  print(signature)
  </code></pre>
  
  <p>[1]</p>
  
  <pre><code>Traceback (most recent call last):
    File "API/test/auth-client.py", line 11, in &lt;module&gt;
      message = bytes("Message", 'utf-8')
  TypeError: str() takes at most 1 argument (2 given)
  </code></pre>