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!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.