commit | 32d34c809f5971f79462dcb7d0f536d46e624acc | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Sep 20 21:45:26 2001 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Sep 20 21:45:26 2001 +0000 |
tree | 29d97883adf68d8112d55c94eca8f4fb93048628 | |
parent | a56b42b1ba646170d5476e8925c56e2266b37f98 [diff] |
Add optional docstrings to getset descriptors. Fortunately, there's no backwards compatibility to worry about, so I just pushed the 'closure' struct member to the back -- it's never used in the current code base (I may eliminate it, but that's more work because the getter and setter signatures would have to change.) As examples, I added actual docstrings to the getset attributes of a few types: file.closed, xxsubtype.spamdict.state.