MCPcopy
hub / github.com/tinode/chat / stdout

Function stdout

tn-cli/tn_globals.py:67–74  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

65
66# Stdout asynchronously writes to sys.stdout
67def stdout(*args):
68 text = ""
69 for a in args:
70 text = text + str(a) + " "
71 # Strip just the spaces here, don't strip the newline or tabs.
72 text = text.strip(" ")
73 if text:
74 OutputQueue.put(text)
75
76# Stdoutln asynchronously writes to sys.stdout and adds a new line to input.
77def stdoutln(*args):

Callers 1

stdoutlnFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…