Mercurial > public > mercurial-scm > hg-stable
diff mercurial/util.py @ 30038:42ead5b3aa7b
py3: use unicodes in __slots__
__slots__ doesnot accepts bytes on Python 3.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 02 Oct 2016 03:38:14 +0530 |
parents | 3f4e1c033f40 |
children | ff7697b436ab |
line wrap: on
line diff
--- a/mercurial/util.py Sat Oct 01 15:10:38 2016 -0400 +++ b/mercurial/util.py Sun Oct 02 03:38:14 2016 +0530 @@ -561,7 +561,7 @@ Holds a reference to nodes on either side as well as a key-value pair for the dictionary entry. """ - __slots__ = ('next', 'prev', 'key', 'value') + __slots__ = (u'next', u'prev', u'key', u'value') def __init__(self): self.next = None