print out warning with line number and rest of arguments
Definition at line 31 of file GenObject.py.
References print().
32 def warn (*args, **kwargs):
33 """print out warning with line number and rest of arguments"""
35 frame = inspect.stack()[1]
39 filename = filenameRE.sub (
'', filename)
41 blankLines = kwargs.get(
'blankLines', 0)
43 print(
'\n' * blankLines)
44 spaces = kwargs.get(
'spaces', 0)
46 print(
' ' * spaces, end=
' ')
48 print(
"%s (%s): " % (filename, lineNum), end=
' ')
53 print(
"%s (%s):" % (filename, lineNum))
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)