Skip to content

Commit db75cce

Browse files
committed
improve comment
1 parent 0846575 commit db75cce

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

unpythonic/net/server.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,12 @@
160160
# --------------------------------------------------------------------------------
161161
# Exports for REPL sessions
162162

163-
# These `_get_source` and `doc` functions come from `mcpyrate.repl.utils`.
163+
# These `_get_source` and `doc` functions come from `mcpyrate.repl.utils`,
164+
# with the coloring code removed.
164165
#
165166
# We strictly need a local copy of only if `mcpyrate` is not installed,
166-
# to allow viewing docstrings in the stdlib console.
167+
# to allow viewing docstrings in the stdlib console (which does not use
168+
# colored output anyway).
167169

168170
def _get_source(obj):
169171
# `inspect.getsourcefile` accepts "a module, class, method, function,

0 commit comments

Comments
 (0)