[Zope-Checkins] CVS: Zope3/lib/python/Interface - pyskel.py:1.1.2.4
Jim Fulton
jim@cvs.zope.org
Mon, 4 Mar 2002 11:50:44 -0500
Update of /cvs-repository/Zope3/lib/python/Interface
In directory cvs.zope.org:/tmp/cvs-serv13518
Modified Files:
Tag: Zope-3x-branch
pyskel.py
Log Message:
Added more information to generated output.
=== Zope3/lib/python/Interface/pyskel.py 1.1.2.3 => 1.1.2.4 ===
def skel(name):
iface = resolve(name)
+ print "from %s import %s" % (iface.__module__, iface.__name__)
+ print
+ print "class X:"
print
print " __implements__ = ", iface.__name__
print