You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-util/gprof2dot/files/gprof2dot-0_p20130517-py3-x...

11 lines
431 B

--- gprof2dot.py 2013-05-29 19:18:46.217823810 +0300
+++ gprof2dot.py 2013-06-16 12:12:28.095478734 +0300
@@ -39,6 +39,7 @@
def compat_keys(x): return list(x.keys()) # keys() is a generator in Python 3
basestring = str # No class basestring in Python 3
unichr = chr # No unichr in Python 3
+ xrange = range # No xrange in Python 3
else:
PYTHON_3 = False
def compat_iteritems(x): return x.iteritems()