Skip to content

Commit

Permalink
PEP 8: Add yellow side border
Browse files Browse the repository at this point in the history
  • Loading branch information
hugovk committed Dec 8, 2023
1 parent 14b8270 commit d61d069
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pep_sphinx_extensions/pep_theme/static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,9 @@ pre {
.bad pre {
border-left: 3px solid rgb(244, 76, 78);
}
.maybe pre {
border-left: 3px solid rgb(244, 227, 76);
}

/* Contents rules */
details > summary {
Expand Down
1 change: 1 addition & 0 deletions peps/pep-0008.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ multiple ``with``-statements could not use implicit continuation
before Python 3.10, so backslashes were acceptable for that case:

.. code-block::
:class: maybe
with open('/path/to/some/file/you/want/to/read') as file_1, \
open('/path/to/some/file/being/written', 'w') as file_2:
Expand Down

0 comments on commit d61d069

Please sign in to comment.