Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2769)

#10716: Modernize pydoc to use CSS

Can't Edit
Can't Publish+Mail
Start Review
Created:
2 years, 3 months ago by raymond.hettinger
Modified:
2 years, 3 months ago
Reviewers:
ezio.melotti, merwok
CC:
Georg, rhettinger, sasha, ron_adam, ezio.melotti, eric.araujo, lukasz.langa, vterron
Visibility:
Public.

Patch Set 1 #

Patch Set 2 #

Total comments: 33
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Lib/pydoc.py View 1 2 chunks +240 lines, -173 lines 24 comments Download
Lib/pydoc_data/_pydoc.css View 1 1 chunk +228 lines, -0 lines 7 comments Download
Lib/test/test_pydoc.py View 2 chunks +15 lines, -18 lines 2 comments Download

Messages

Total messages: 4
ezio.melotti
http://bugs.python.org/review/10716/diff/1852/3477 File Lib/pydoc.py (right): http://bugs.python.org/review/10716/diff/1852/3477#newcode2506 Lib/pydoc.py:2506: items = items, The spaces around the = can ...
2 years, 3 months ago #1
eric.araujo
http://bugs.python.org/review/10716/diff/1852/3477 File Lib/pydoc.py (right): http://bugs.python.org/review/10716/diff/1852/3477#newcode2508 Lib/pydoc.py:2508: ) > The ) should be closed on the ...
2 years, 3 months ago #2
ezio.melotti
http://bugs.python.org/review/10716/diff/1852/3477 File Lib/pydoc.py (right): http://bugs.python.org/review/10716/diff/1852/3477#newcode2508 Lib/pydoc.py:2508: ) On 2011/03/11 23:35:54, eric.araujo wrote: > > The ...
2 years, 3 months ago #3
eric.araujo
2 years, 3 months ago #4
>> That’s done on purpose by Ron so that any future addition only adds
>> one line in the diff.  I like this style.
> I don't think having one more line is a big deal.

It’s certainly not a big deal, just a style thing and a minor nicety.

>> I don’t see why you said that: The code uses the second style you
>> describe.
> In the second style the ) is closed under the 'v' of values,

Oh, I didn’t catch that.  I agree with you it’s nicer.

>> This contradicts a previous comment you made :)  [...]
> [...] Spaces or not, the style should be consistent.

What I was saying :)

>>> These are not used yet. */
>> Then better not to include them. 
> According to msg125111 they will be used later.

Fine.

> These might be better written like:
> with self.assertRaises(ValueError):
>     pydoc._url_handler('', '')

My preferred style too.
Sign in to reply to this message.

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7