Commit 6417e843 authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

sys.stdout

parent 68d45352
......@@ -10,9 +10,9 @@ class RecycleObject(object):
@contextlib.contextmanager
def nostdout():
savestdout = sys.stdout
stdout = RecycleObject()
sys.stdout = RecycleObject()
yield
stdout = savestdout
sys.stdout = savestdout
def weekday(day):
weekdays = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment