original_docstring: Decode credentials passed as a base64-encoded string: [some data we don't need]\x00username\x00password
docstring: Decode credentials passed as a base64-encoded string: [some data we don't need]\x00username\x00password
docstring_tokens: Decode credentials passed as a base64 - encoded string : [ some data we don ' t need ] \ x00username \ x00password
code: def decode_credentials(str_data):
          """Decode credentials passed as a base64-encoded string: [some data we don't need]\x00username\x00password"""
          try:
              (_, bytes_username, bytes_password) = base64.b64decode(str_data).split(b'\x00')
              return bytes_username.decode('utf-8'), bytes_password.decode('utf-8')
          except (ValueError, binascii.Error):
              # ValueError is from incorrect number of arguments; binascii.Error from incorrect encoding
              return '', ''
code_tokens: def decode_credentials ( str_data ) : try : ( _ , bytes_username , bytes_password ) = base64 . b64decode ( str_data ) . split ( b'\x00' ) return bytes_username . decode ( 'utf-8' ) , bytes_password . decode ( 'utf-8' ) except ( ValueError , binascii . Error ) : return '' , ''
short_docstring: Decode credentials passed as a base64-encoded string: [some data we don't need]\x00username\x00password
short_docstring_tokens: Decode credentials passed as a base64 - encoded string : [ some data we don ' t need ] \ x00username \ x00password
comment: """Decode credentials passed as a base64-encoded string: [some data we don't need]\x00username\x00password"""$SEP$# ValueError is from incorrect number of arguments; binascii.Error from incorrect encoding