move lament into core

This commit is contained in:
Connor Olding 2017-07-01 02:22:34 +00:00
parent 7da93e93a8
commit 22dc651cce
2 changed files with 3 additions and 3 deletions

3
onn.py
View file

@ -11,9 +11,6 @@ from onn_core import _check, _f, _0, _1
import sys
def lament(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
_log_was_update = False
def log(left, right, update=False):
s = "\x1B[1m {:>20}:\x1B[0m {}".format(left, right)

View file

@ -1,5 +1,8 @@
import sys
def lament(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
import numpy as np
_f = np.float32