diff options
author | monster <[email protected]> | 2022-07-07 14:41:37 +0300 |
---|---|---|
committer | monster <[email protected]> | 2022-07-07 14:41:37 +0300 |
commit | 06e5c21a835c0e923506c4ff27929f34e00761c2 (patch) | |
tree | 75efcbc6854ef9bd476eb8bf00cc5c900da436a2 /contrib/tools/cython/Cython/Debugging.py | |
parent | 03f024c4412e3aa613bb543cf1660176320ba8f4 (diff) |
fix ya.make
Diffstat (limited to 'contrib/tools/cython/Cython/Debugging.py')
-rw-r--r-- | contrib/tools/cython/Cython/Debugging.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/tools/cython/Cython/Debugging.py b/contrib/tools/cython/Cython/Debugging.py deleted file mode 100644 index edb3f4e8ca5..00000000000 --- a/contrib/tools/cython/Cython/Debugging.py +++ /dev/null @@ -1,20 +0,0 @@ -############################################### -# -# Odds and ends for debugging -# -############################################### - -def print_call_chain(*args): - import sys - print(" ".join(map(str, args))) - f = sys._getframe(1) - while f: - name = f.f_code.co_name - s = f.f_locals.get('self', None) - if s: - c = getattr(s, "__class__", None) - if c: - name = "%s.%s" % (c.__name__, name) - print("Called from: %s %s" % (name, f.f_lineno)) - f = f.f_back - print("-" * 70) |