summaryrefslogtreecommitdiffstats
path: root/Lib/trace.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-11-08 06:36:42 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-11-08 06:36:42 (GMT)
commit481b09b3526d446e8abb8f0336b5e38a4fef01ac (patch)
tree792c36d62580cd08ab76e490d6995bfad8abc5ab /Lib/trace.py
parentfb1ffb0ebb283c493b55dc2a1c8431e1da668d2e (diff)
downloadcpython-481b09b3526d446e8abb8f0336b5e38a4fef01ac.zip
cpython-481b09b3526d446e8abb8f0336b5e38a4fef01ac.tar.gz
cpython-481b09b3526d446e8abb8f0336b5e38a4fef01ac.tar.bz2
SF #1062190. Removed an assertion that rendered trace.py unnecessarily
inflexibile.
Diffstat (limited to 'Lib/trace.py')
-rw-r--r--Lib/trace.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/trace.py b/Lib/trace.py
index b104ff0..f167fcf 100644
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -416,7 +416,6 @@ def find_strings(filename):
def find_executable_linenos(filename):
"""Return dict where keys are line numbers in the line number table."""
- assert filename.endswith('.py')
try:
prog = open(filename, "rU").read()
except IOError, err: