summaryrefslogtreecommitdiffstats
path: root/Lib/profile.py
diff options
context:
space:
mode:
authorNicholas Bastin <nick.bastin@gmail.com>2004-07-12 13:44:26 (GMT)
committerNicholas Bastin <nick.bastin@gmail.com>2004-07-12 13:44:26 (GMT)
commit2e39d80925437b8f5aac6bd130188ead381792ec (patch)
treeb850f68cd9909c00f7e0c886e85d6f113acef67c /Lib/profile.py
parent7b7acd1de5f4c6bca47b33be3c54186562ce20fa (diff)
downloadcpython-2e39d80925437b8f5aac6bd130188ead381792ec.zip
cpython-2e39d80925437b8f5aac6bd130188ead381792ec.tar.gz
cpython-2e39d80925437b8f5aac6bd130188ead381792ec.tar.bz2
Fix SF Bug #989066
Diffstat (limited to 'Lib/profile.py')
-rwxr-xr-xLib/profile.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/profile.py b/Lib/profile.py
index 6ed396e..c786c6a 100755
--- a/Lib/profile.py
+++ b/Lib/profile.py
@@ -216,7 +216,7 @@ class Profile:
t = t[0] + t[1] - self.t - self.bias
if event == "c_call":
- self.c_func_name = arg
+ self.c_func_name = repr(arg)
if self.dispatch[event](self, frame,t):
t = timer()
@@ -233,7 +233,7 @@ class Profile:
t = timer() - self.t - self.bias
if event == "c_call":
- self.c_func_name = arg
+ self.c_func_name = repr(arg)
if self.dispatch[event](self, frame, t):
self.t = timer()
@@ -248,7 +248,7 @@ class Profile:
t = timer()/60.0 - self.t - self.bias
if event == "c_call":
- self.c_func_name = arg
+ self.c_func_name = repr(arg)
if self.dispatch[event](self, frame, t):
self.t = timer()/60.0
@@ -262,7 +262,7 @@ class Profile:
t = get_time() - self.t - self.bias
if event == "c_call":
- self.c_func_name = arg
+ self.c_func_name = repr(arg)
if self.dispatch[event](self, frame, t):
self.t = get_time()