In article <[email protected]>, "Alf P. Steinbach" <[email protected]> wrote:
> * Roy Smith: > > In article <[email protected]>, > > Mitchell L Model <[email protected]> wrote: > > > >> I use the sep and end keywords all the time. > > > > What are 'sep' and 'end'? I'm looking in > > http://docs.python.org/3.1/genindex-all.html and don't see those mentioned > > at all. Am I just looking in the wrong place? > > >>> print( print.__doc__ ) > print(value, ..., sep=' ', end='\n', file=sys.stdout) > > Prints the values to a stream, or to sys.stdout by default. > Optional keyword arguments: > file: a file-like object (stream); defaults to the current sys.stdout. > sep: string inserted between values, default a space. > end: string appended after the last value, default a newline. > >>> _ I'm inclined to call it a docs bug that these keywords are not in the HTML index. Yes? -- http://mail.python.org/mailman/listinfo/python-list
