[issue15887] urlencode should accept iterables of pairs

Éric Araujo report at bugs.python.org
Thu Apr 17 20:12:11 CEST 2014


Éric Araujo added the comment:

>> "Convert a mapping object or a sequence of two-element tuples, which
>> may either be a str or a bytes, to a “percent-encoded” string."
>
> Mappings, duple sequences, and duples cannot be str or bytes.

The only thing making sense to me here is that “which” refers to “element”.  Rephrased: Convert a mapping or sequence of two-element tuples, where each mapping key or each first element in the tuples may be str or bytes.

----------
nosy: +eric.araujo

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15887>
_______________________________________


More information about the Python-bugs-list mailing list