parameters: (s)
return_statement: return s if six.PY2 else s.encode("latin1")
docstring: Take a string and return a string(PY2) or a bytes(PY3) object. The returned
      object contains the exact same bytes as the input string. (latin1 <->
      unicode transformation is an identity operation for the first 256 code
      points).
docstring_summary: Take a string and return a string(PY2) or a bytes(PY3) object. The returned
      object contains the exact same bytes as the input string. (latin1 <->
      unicode transformation is an identity operation for the first 256 code
      points).
docstring_tokens: Take a string and return a string ( PY2 ) or a bytes ( PY3 ) object . The returned object contains the exact same bytes as the input string . ( latin1 < - > unicode transformation is an identity operation for the first 256 code points ) .
function: def bitcast_to_bytes(s):
      """
      Take a string and return a string(PY2) or a bytes(PY3) object. The returned
      object contains the exact same bytes as the input string. (latin1 <->
      unicode transformation is an identity operation for the first 256 code
      points).
      """
      return s if six.PY2 else s.encode("latin1")
function_tokens: def bitcast_to_bytes ( s ) : return s if six . PY2 else s . encode ( "latin1" )