OILS
/
doctools
/ util.py
View on Github
|
oils.pub
13 lines, 7 significant
1
#!/usr/bin/env python2
2
from __future__ import print_function
3
4
import sys
5
6
from typing import Any
7
8
9
def log(msg, *args):
10
# type: (str, Any) -> None
11
if args:
12
msg = msg % args
13
print(msg, file=sys.stderr)