parameters: (f)
return_statement: return long(s)
docstring: r"""
      >>> import StringIO
  
      >>> read_decimalnl_long(StringIO.StringIO("1234\n56"))
      Traceback (most recent call last):
      ...
      ValueError: trailing 'L' required in '1234'
  
      Someday the trailing 'L' will probably go away from this output.
  
      >>> read_decimalnl_long(StringIO.StringIO("1234L\n56"))
      1234L
  
      >>> read_decimalnl_long(StringIO.StringIO("123456789012345678901234L\n6"))
      123456789012345678901234L
docstring_summary: r"""
      >>> import StringIO
docstring_tokens: r >>> import StringIO
function: def read_decimalnl_long(f):
      r"""
      >>> import StringIO
  
      >>> read_decimalnl_long(StringIO.StringIO("1234\n56"))
      Traceback (most recent call last):
      ...
      ValueError: trailing 'L' required in '1234'
  
      Someday the trailing 'L' will probably go away from this output.
  
      >>> read_decimalnl_long(StringIO.StringIO("1234L\n56"))
      1234L
  
      >>> read_decimalnl_long(StringIO.StringIO("123456789012345678901234L\n6"))
      123456789012345678901234L
      """
  
      s = read_stringnl(f, decode=False, stripquotes=False)
      if not s.endswith("L"):
          raise ValueError("trailing 'L' required in %r" % s)
      return long(s)
function_tokens: def read_decimalnl_long ( f ) : s = read_stringnl ( f , decode = False , stripquotes = False ) if not s . endswith ( "L" ) : raise ValueError ( "trailing 'L' required in %r" % s ) return long ( s )