(*args)
| 65 | |
| 66 | # Stdout asynchronously writes to sys.stdout |
| 67 | def 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. |
| 77 | def stdoutln(*args): |
no outgoing calls
no test coverage detected
searching dependent graphs…