def filelineno():
 if (not _state):
  raise RuntimeError('no active input()')
 return _state.filelineno()

def filelineno ( ) : if ( not _state ) : raise RuntimeError ( 'no active input()' ) return _state . filelineno ( )
return the line number in the current file .