OILS / doctools / util.py View on Github | oilshell.org

11 lines, 6 significant
1#!/usr/bin/env python2
2"""util.py."""
3from __future__ import print_function
4
5import sys
6
7
8def log(msg, *args):
9 if args:
10 msg = msg % args
11 print(msg, file=sys.stderr)