OILS
/
asdl
/ util.py
View on Github
|
oils.pub
13 lines, 7 significant
1
#!/usr/bin/env python2
2
"""
util.py.
"""
3
from __future__ import print_function
4
5
import sys
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)