File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -203,7 +203,9 @@ <h2 id="clarifications">Clarifications</h2>
203203< h2 id ="exceptions "> Exceptions</ h2 >
204204
205205< ul >
206- < li > Lines containing a long URL may be longer than 80 columns if necessary to
206+ < li > Drake uses an 80-character limit, instead of PEP 8’s limit of 79. Docstrings
207+ may also use all 80 characters (ignoring the limit of 72 from PEP 8).</ li >
208+ < li > Lines containing a long URL may be longer than 80 characters if necessary to
207209avoid splitting the URL.</ li >
208210</ ul >
209211
Original file line number Diff line number Diff line change @@ -2190,10 +2190,7 @@ <h4 id="383-functions-and-methods">3.8.3 Functions and Methods</h4>
21902190 < dt > < a href ="#doc-function-args "> < em > Args:</ em > </ a > </ dt >
21912191 < dd > List each parameter by name. A description should follow the name, and be
21922192separated by a colon followed by either a space or newline. If the
2193- description is too long to fit on a single
2194- < span class ="nondrake "> 80-character</ span >
2195- < span class ="drake "> 79-character*</ span >
2196- line, use a hanging
2193+ description is too long to fit on a single 80-character line, use a hanging
21972194indent of 2 or 4 spaces more than the parameter name (be consistent with the
21982195rest of the docstrings in the file). The description should include required
21992196type(s) if the code does not contain a corresponding type annotation. If a
You can’t perform that action at this time.
0 commit comments