Mercurial > hg
diff mercurial/obsolete.py @ 31842:c130d092042a
py3: add a bytes version of urllib.parse.urlencode() to pycompat.py
urllib.parse.urlencode() returns unicodes on Python 3. This commit adds a
method which will take its output and encode it to bytes so that we can use
bytes consistently.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 07 Apr 2017 16:00:44 +0530 |
parents | 413b44003462 |
children | 4462a981e8df 99515353c72a |