You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Docstrings currently have the initial indent of the line trimmed off. This is to handle the fact that all lines of docstrings except the first frequently have an indent from the position of the docstring itself in the source. For example:
(defnfoo"Docstring here. And here."
[x]
...)
Here, the second line has 3 spaces at the start of the line. However sometimes docstrings use additional indents to increase readability:
A good algorithm for dealing with this would be to check all the lines excluding the first, find the minimum indent of all those lines and then apply that to all of them.
The text was updated successfully, but these errors were encountered:
Docstrings currently have the initial indent of the line trimmed off. This is to handle the fact that all lines of docstrings except the first frequently have an indent from the position of the docstring itself in the source. For example:
Here, the second line has 3 spaces at the start of the line. However sometimes docstrings use additional indents to increase readability:
A good algorithm for dealing with this would be to check all the lines excluding the first, find the minimum indent of all those lines and then apply that to all of them.
The text was updated successfully, but these errors were encountered: