[Python-checkins] CVS: python/dist/src/Lib dis.py,1.20,1.21

Guido van Rossum python-dev@python.org
2000年3月30日 10:02:14 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib
Modified Files:
	dis.py 
Log Message:
Michael Hudson: With the (cool!) new call syntax, the longest opcode
name is much longer, which fouls up dis's formatting slightly; this is
a "fix" for that.
Index: dis.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/dis.py,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -r1.20 -r1.21
*** dis.py	2000年03月28日 23:49:07	1.20
--- dis.py	2000年03月30日 15:02:11	1.21
***************
*** 66,70 ****
 		else: print ' ',
 		print string.rjust(`i`, 4),
! 		print string.ljust(opname[op], 15),
 		i = i+1
 		if op >= HAVE_ARGUMENT:
--- 66,70 ----
 		else: print ' ',
 		print string.rjust(`i`, 4),
! 		print string.ljust(opname[op], 20),
 		i = i+1
 		if op >= HAVE_ARGUMENT:

AltStyle によって変換されたページ (->オリジナル) /