So, when I try to print help / information about Python function.__doc__ , the console output, instead of printing a new line when \n appears in the document line, prints \n . Can someone help me disable / help with this?
This is my conclusion:
'divmod(x, y) -> (div, mod)\n\nReturn the tuple ((xx%y)/y, x%y). Invariant: div*y + mod == x.'
I would like the result to be as follows:
'divmod(x, y) -> (div, mod) Return the tuple ((xx%y)/y, x%y). Invariant: div*y + mod == x.'
PS: I tried this on OS X, Ubuntu with Python 2.7.
armundle
source share