• Guido van Rossum's avatar
    Add optional docstrings to getset descriptors. Fortunately, there's · 32d34c80
    Guido van Rossum yazdı
    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.
    32d34c80
methodobject.c 7.09 KB