##// END OF EJS Templates
In obj??, display the docstring if it is not in the source....
In obj??, display the docstring if it is not in the source. Currently, `obj??` does not display obj's docstring because it is likely redundant with the source (which usually also includes the docstring). However, when the docstring had been dynamically added, then it should also be displayed by `obj??` (because it is not redundant in this case). A reasonable way to check for this condition is to parse the source and compare the result of `ast.get_docstring()` to the result of `inspect.getdoc()`, as done by this PR.

File last commit:

r24007:3de88102
r24118:db899f48
Show More
.editorconfig
19 lines | 329 B | text/x-ini | IniLexer
# Top-most EditorConfig file
root = true
[*]
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true
charset = utf-8
# Four-space indentation
indent_size = 4
indent_style = space
trim_trailing_whitespace = false
[*.yml]
# Two-space indentation
indent_size = 2
indent_style = space