chiark
/
gitweb
/
~ian
/
moebius3.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
helixish: Introduce matmultiply and augmatmultiply
[moebius3.git]
/
moedebug.py
1
2
3
_files = []
4
5
def dbg_file(f):
6
_files.append(f)
7
8
def dbg_enabled():
9
return not not _files
10
11
def dbg(*args):
12
for f in _files:
13
print('// D ', *args, file=f)
14
f.flush()