23 Mar 2004 02:04
More thoughts on Tkinter documentation
Kenneth McDonald <kmmcdonald <at> wisc.edu>
2004-03-23 01:04:12 GMT
2004-03-23 01:04:12 GMT
Here are two more ideas for how to proceed with Tkinter documentation. 1) Is it possible to set up some sort of "structured wiki", where a) Some people can set up documentation structure, and others can add to it. b) Anyone can go in and write documentation in a section, and the "owner" of the section can then integrate (or discard) what has been contributed. For me, this would work well. If I needed to know something, go look at the online document. If my answer is there, great. If my answer isn't there, I have to go and figure it out myself-- and having done that, it isn't much more time to go back and type in what I've found. 2) I'm still a big fan of inline documentation. However, I don't really like docstrings because they don't provide enough structure or analytical power, especially for a fairly complex interface like Tkinter. I think it would be rather cool to define a more structured form of inline documentation, eg. a __doct__ special field (combination of doc and dict) field, where, given a function def f(foo, bar): .... The doct object for the function could be something like: __doct__ = dict((Continue reading)
RSS Feed