summaryrefslogtreecommitdiff
path: root/Lib/trace.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-11-08 06:36:42 +0000
committerRaymond Hettinger <python@rcn.com>2004-11-08 06:36:42 +0000
commitecf20df700bb9fbb494fa0c263251807cf889e70 (patch)
tree87383c6cfc068986cee23ff9fb6cb634e5e8755a /Lib/trace.py
parent2861c915f9cf9c1eafb13ebd59aec4b15393774c (diff)
downloadcpython-ecf20df700bb9fbb494fa0c263251807cf889e70.tar.gz
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 b104ff085b..f167fcfad8 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: