Correction to the above: six.text_type always represents unicode, so we would want to return the native text type depending on python version, not six.text_type.
That said, after playing around with a unit test, I'm not seeing that six.moves.urllib.parse.unquote returns type unicode -- it's returning type str. So again it's not yet clear where the unicode type is coming from.
Correction to the above: six.text_type always represents unicode, so we would want to return the native text type depending on python version, not six.text_type.
That said, after playing around with a unit test, I'm not seeing that six.moves. urllib. parse.unquote returns type unicode -- it's returning type str. So again it's not yet clear where the unicode type is coming from.