()
return _state.lineno()
Return the cumulative line number of the line that has just been read.
    Before the first line has been read, returns 0. After the last line
    of the last file has been read, returns the line number of that line.
Return the cumulative line number of the line that has just been read.
    Before the first line has been read, returns 0. After the last line
    of the last file has been read, returns the line number of that line.
Return the cumulative line number of the line that has just been read . Before the first line has been read returns 0 . After the last line of the last file has been read returns the line number of that line .
def lineno():
    """
    Return the cumulative line number of the line that has just been read.
    Before the first line has been read, returns 0. After the last line
    of the last file has been read, returns the line number of that line.
    """
    if not _state:
        raise RuntimeError("no active input()")
    return _state.lineno()
def lineno ( ) : if not _state : raise RuntimeError ( "no active input()" ) return _state . lineno ( )