In article <hjsd34$pv...@news.eternal-september.org>, "Alf P. Steinbach" <al...@start.no> wrote:
> * Roy Smith: > > In article <mailman.1545.1264694607.28905.python-l...@python.org>, > > Mitchell L Model <mlm...@comcast.net> 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