[Python-checkins] CVS: python/dist/src/Tools/bgen/bgen bgenModule.py,1.9,1.10

Jack Jansen jackjansen@users.sourceforge.net
Sun, 09 Dec 2001 15:24:57 -0800


Update of /cvsroot/python/python/dist/src/Tools/bgen/bgen
In directory usw-pr-cvs1:/tmp/cvs-serv26278/Python/Tools/bgen/bgen

Modified Files:
	bgenModule.py 
Log Message:
The module generator now tells its object generators about the module name (through the new setmodulename() method). If the module name has been set the object generators output it as part of the tp_name field for the object type.

Index: bgenModule.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/bgen/bgen/bgenModule.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** bgenModule.py	2001/08/27 14:30:55	1.9
--- bgenModule.py	2001/12/09 23:24:55	1.10
***************
*** 20,23 ****
--- 20,24 ----
  		self.generators.append(od)
  		self.typeobjects.append(od)
+ 		od.setmodulename(self.name)
  
  	def generate(self):