Mercurial > hg
comparison contrib/synthrepo.py @ 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 | d5883fd055c6 |
children | bd872f64a8ba |
comparison
equal
deleted
inserted
replaced
30104:63e1dca2d6a4 | 30105:b2f90d8878ac |
---|