[PYTHON DOC-SIG] Re: Do reference/user docs exist for the Py* API?
Tue, 20 Aug 1996 22:33:49 +0200
> I will initially move this discussion from the main list to the
> firstname.lastname@example.org list.
Ok, I'll better hang on :-)
> I'd like to generate one or more template documents automatically
> from the C source or some other easily created template file that I
> can then make available to people with an interest in completing
> individual sections.
Here's a start...
# translate rename2.h into a simple document template
entries = 
for s in open("rename2.h").readlines():
s = string.split(s)
if len(s) == 3 and s == "#define":
for n, o in entries:
print "\tThis function ..."
print "\tOld name: %s" % o
DOC-SIG - SIG for the Python Documentation Project
send messages to: email@example.com
administrivia to: firstname.lastname@example.org