Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d56c02 commit ebd84e3Copy full SHA for ebd84e3
1 file changed
Doc/library/inspect.rst
@@ -489,8 +489,12 @@ Retrieving source code
489
.. function:: cleandoc(doc)
490
491
Clean up indentation from docstrings that are indented to line up with blocks
492
- of code. Any whitespace that can be uniformly removed from the second line
493
- onwards is removed. Also, all tabs are expanded to spaces.
+ of code.
+
494
+ All leading whitespace is removed from the first line. Any leading whitespace
495
+ that can be uniformly removed from the second line onwards is removed. Empty
496
+ lines at the beginning and end are subsequently removed. Also, all tabs are
497
+ expanded to spaces.
498
499
500
.. _inspect-signature-object:
0 commit comments