1

pydoc EXPRESSIONS work perfectly fine but pydoc -w EXPRESSIONS does not. Why is that? (the w option write the output to a html file) The same is true for other capitalized help topics such as FORMATTING or TUPLELITERALS.

Thanks!

MatthewMartin
33.3k33 gold badges117 silver badges172 bronze badges
asked Apr 26, 2012 at 12:30

1 Answer 1

1

If you look at the source you can see that when using the switch '-w' pydoc uses the function writedoc, otherwise to the class Helper. In the Helper-class EXPRESSIONS is defined under line 1666 . The function writedoc does not utilize this nor does it use the Helper class.

Same for FORMATTING and TUPLELITERALS

Might qualify for a bug report, in my opinion.

answered Apr 26, 2012 at 12:40
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.