Skip to content

Commit 89e52c2

Browse files
author
Philip Guo
committed
don't put trailing '()' on function names in stack frames
1 parent 685a650 commit 89e52c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎v3/js/pytutor.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1793,7 +1793,7 @@ ExecutionVisualizer.prototype.renderDataStructures = function() {
17931793
// (might contain '<' or '>' for weird names like <genexpr>)
17941794
var funcName = htmlspecialchars(frame.func_name).replace('&lt;lambda&gt;', '\u03bb');
17951795

1796-
var headerLabel = funcName + '()';
1796+
var headerLabel = funcName;
17971797

17981798
// only display if you're someone's parent
17991799
if (frame.is_parent) {

0 commit comments

Comments
 (0)