Mercurial > hg
comparison contrib/mercurial.spec @ 30105:b2f90d8878ac
dirs: convert PyString to PyBytes
PyStringObject was renamed to PyBytes in Python 3 along with the
corresponding PyString* functions and macros. PyString* doesn't
exist in Python 3. But PyBytes* is an alias to PyString in Python 2.
So rewrite PyString* to PyBytes* for Python 2/3 dual compatibility.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 08 Oct 2016 14:31:59 +0200 |
parents | b927fe8bf0b9 |
children | feb910d2f59b |
comparison
equal
deleted
inserted
replaced
30104:63e1dca2d6a4 | 30105:b2f90d8878ac |
---|