[Python-checkins] CVS: python/dist/src/Lib inspect.py,1.9,1.10

Ka-Ping Yee ping@users.sourceforge.net
Thu, 22 Mar 2001 21:14:12 -0800


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv21475/Lib

Modified Files:
	inspect.py 
Log Message:
Don't have trace() skip the top frame; return them all.


Index: inspect.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/inspect.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** inspect.py	2001/03/16 08:29:47	1.9
--- inspect.py	2001/03/23 05:14:09	1.10
***************
*** 621,625 ****
      Each record contains a frame object, filename, line number, function
      name, a list of lines of context, and index within the context."""
-     tb = tb.tb_next
      framelist = []
      while tb:
--- 621,624 ----