Skip to content

Commit 48675bc

Browse files
committed
updated comments
1 parent 14c5b8b commit 48675bc

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

jupyter_sphinx/execute.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -498,19 +498,18 @@ def cell_output_to_nodes(cell, data_priority, write_stderr, dir, thebe_config):
498498
if not write_stderr:
499499
continue
500500
else:
501-
# Produce a container with an unhighlighted literal block for
501+
# Output a container with an unhighlighted literal block for
502502
# `stderr` messages.
503503
#
504504
# Adds a "stderr" class that can be customized by the user for both
505505
# the container and the literal_block.
506506
#
507-
# Also adds "error" as a base class, which is fairly common
507+
# Also adds "error" as a base class, which is a fairly common
508508
# class in Sphinx themes. It should result in differentiation
509509
# from stdout in most Sphinx themes.
510510
#
511511
# Not setting "rawsource" disables Pygment hightlighting, which
512-
# would otherwise add a <div class="highlight"> to the container
513-
# that would hold the literal_block (<pre>).
512+
# would otherwise add a <div class="highlight">.
514513

515514
container = docutils.nodes.container(classes=["error", "stderr"])
516515
container.append(docutils.nodes.literal_block(

0 commit comments

Comments
 (0)