You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks good already! I can't review the full text now, but can you move
member documentation into the indented block for the class? (I know
other documents don't do this, but this is a legacy and I'd like new
documents to adopt this style.)
Additionally, the function description style is inconsistent ("Flushes
the stream" vs "Return this").
Georg, I have a few questions:
Just out of curiosity, what did you change? Are their markup things I
missed or other things you're looking for that I just didn't get?
Are we going to want to push some of this stuff back into the docstrings?
Other than the "class.method" change you already noticed, I changed some
"method"s to "attribute"s (since they are @Propertied in the source),
removed parens in :meth:`` roles, moved the constructor description into
the .. class block and did some spelling corrections.
A backport to 2.6 would be great. If you also find time to put some
docstrings in, very good.
Activity
benjaminp commentedon Apr 1, 2008
The IO module currently has some docs strings but no official RST docs.
I'm willing to work on this.
birkenfeld commentedon Apr 5, 2008
Great!
benjaminp commentedon Apr 6, 2008
Attaching a draft.
birkenfeld commentedon Apr 6, 2008
Looks good already! I can't review the full text now, but can you move
member documentation into the indented block for the class? (I know
other documents don't do this, but this is a legacy and I'd like new
documents to adopt this style.)
Additionally, the function description style is inconsistent ("Flushes
the stream" vs "Return this").
benjaminp commentedon Apr 6, 2008
Ok. attaching an improved patch. Do you think information about
indenting classes and such can be added to the style guide? It'd be very
helpful.
benjaminp commentedon Apr 8, 2008
Attaching an updated patch from a review Mark Summerfield.
birkenfeld commentedon Apr 9, 2008
Reviewed, changed a few things and committed as r62252. Thanks!
benjaminp commentedon Apr 9, 2008
Georg, I have a few questions:
Just out of curiosity, what did you change? Are their markup things I
missed or other things you're looking for that I just didn't get?
Are we going to want to push some of this stuff back into the docstrings?
Should I backport this to 2.6?
Mark: It has been checked in.
birkenfeld commentedon Apr 9, 2008
Other than the "class.method" change you already noticed, I changed some
"method"s to "attribute"s (since they are @Propertied in the source),
removed parens in :meth:`` roles, moved the constructor description into
the .. class block and did some spelling corrections.
A backport to 2.6 would be great. If you also find time to put some
docstrings in, very good.
benjaminp commentedon Apr 10, 2008
When you remove the class from the method declaration, it shows up in
the html as io.write? Is this correct?
birkenfeld commentedon Apr 12, 2008
It isn't. I'll have to investigate this -- I have a feeling of déjà-bug...
birkenfeld commentedon Apr 13, 2008
Should be fixed now with the latest Sphinx revision.
benjaminp commentedon Apr 13, 2008
And I have fleshed out the doc strings and backported it to 2.6.