mercurial/statprof.py
changeset 30568 bb35fe8621f5
parent 30299 1e5346313963
child 30578 c6ce11f2ee50
--- a/mercurial/statprof.py	Mon Nov 21 08:09:41 2016 -0800
+++ b/mercurial/statprof.py	Wed Nov 30 23:38:50 2016 +0530
@@ -177,7 +177,7 @@
 class CodeSite(object):
     cache = {}
 
-    __slots__ = ('path', 'lineno', 'function', 'source')
+    __slots__ = (u'path', u'lineno', u'function', u'source')
 
     def __init__(self, path, lineno, function):
         self.path = path
@@ -232,7 +232,7 @@
         return os.path.basename(self.path)
 
 class Sample(object):
-    __slots__ = ('stack', 'time')
+    __slots__ = (u'stack', u'time')
 
     def __init__(self, stack, time):
         self.stack = stack