[Python-checkins] CVS: python/dist/src/Tools/scripts h2py.py,1.13,1.14
Martin v. L?wis
loewis@users.sourceforge.net
Thu, 09 Aug 2001 05:32:12 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Tools/scripts h2py.py,1.12,1.13
- Next message: [Python-checkins] CVS: python/dist/src/Lib/plat-sunos5 DLFCN.py,NONE,1.1 TYPES.py,NONE,1.1 IN.py,1.2,1.3 STROPTS.py,1.1,1.2 regen,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Tools/scripts
In directory usw-pr-cvs1:/tmp/cvs-serv9246
Modified Files:
h2py.py
Log Message:
When representing #includes as imports, do from MOD import *.
Index: h2py.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/scripts/h2py.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** h2py.py 2001/08/09 12:24:38 1.13
--- h2py.py 2001/08/09 12:32:10 1.14
***************
*** 136,140 ****
filename = line[a:b]
if importable.has_key(filename):
! outfp.write('import %s\n' % importable[filename])
elif not filedict.has_key(filename):
filedict[filename] = None
--- 136,140 ----
filename = line[a:b]
if importable.has_key(filename):
! outfp.write('from %s import *\n' % importable[filename])
elif not filedict.has_key(filename):
filedict[filename] = None
- Previous message: [Python-checkins] CVS: python/dist/src/Tools/scripts h2py.py,1.12,1.13
- Next message: [Python-checkins] CVS: python/dist/src/Lib/plat-sunos5 DLFCN.py,NONE,1.1 TYPES.py,NONE,1.1 IN.py,1.2,1.3 STROPTS.py,1.1,1.2 regen,1.4,1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]