comparison 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
comparison
equal deleted inserted replaced
30037:cd7276f7ea83 30038:42ead5b3aa7b
559 """A node in a doubly linked list. 559 """A node in a doubly linked list.
560 560
561 Holds a reference to nodes on either side as well as a key-value 561 Holds a reference to nodes on either side as well as a key-value
562 pair for the dictionary entry. 562 pair for the dictionary entry.
563 """ 563 """
564 __slots__ = ('next', 'prev', 'key', 'value') 564 __slots__ = (u'next', u'prev', u'key', u'value')
565 565
566 def __init__(self): 566 def __init__(self):
567 self.next = None 567 self.next = None
568 self.prev = None 568 self.prev = None
569 569