[issue5925] Odd formatting differences of keywords in reference

2009-05-04 Thread Georg Brandl
Georg Brandl added the comment: Pygments' cleverness is detrimental here. It highlights module, class and function names specially, therefore the identifiers after "class" and "import" are differently colored. I've made the table non-highlighted in 2 and 3, r72288. -- resolution: ->

[issue5925] Odd formatting differences of keywords in reference

2009-05-04 Thread R. David Murray
R. David Murray added the comment: A thought: there are additional keywords words in the Py3 table. Perhaps Sphinx is using a heuristic to detect example blocks that are python source code, and this one does not qualify in the py2 docs but does qualify in the p3 docs. In the py2 docs the table

[issue5925] Odd formatting differences of keywords in reference

2009-05-04 Thread R. David Murray
R. David Murray added the comment: It looks like the py3 table is being colorized incorrectly. The rst source code looks the same, so it must be some sort of difference in configuration. I think I'll leave it to Georg to sort out :) -- stage: -> needs patch type: -> behavior __

[issue5925] Odd formatting differences of keywords in reference

2009-05-04 Thread R. David Murray
R. David Murray added the comment: Woops, I was looking at the wrong page. I see it now. -- ___ Python tracker ___ ___ Python-bugs-li

[issue5925] Odd formatting differences of keywords in reference

2009-05-04 Thread R. David Murray
R. David Murray added the comment: Whare are you seeing this? The online documentation doesn't use css class names like the ones you mention as far as I can see. -- nosy: +r.david.murray ___ Python tracker ___

[issue5925] Odd formatting differences of keywords in reference

2009-05-04 Thread Mitchell Model
New submission from Mitchell Model : In the section at reference/lexical_analysis.html#keywords of the HTML documentation some of the keywords are formatted differently from the majority. In the HTML markup most of the keywords have CSS class 'k', but others have 'n', 'nc', 'kn', 'nn', or 'ow'. I