Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 5cde813241
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (9 sloc) 0.196 kb
#!/usr/bin/env python
from contextlib import contextmanager
import sys
@contextmanager
def stderr_as_stdout():
temp = sys.stderr
sys.stderr = sys.stdout
yield
sys.stderr = temp
Jump to Line
Something went wrong with that request. Please try again.