A Bug By Any Other Name ...

Tim Golden mail at timgolden.me.uk
Mon Jul 6 03:56:20 EDT 2009


Gabriel Genellina wrote:

[... re confusion over ++n etc ...]

> In this case, a note in the documentation warning about the potential 
> confusion would be fine.

The difficulty here is knowing where to put such a warning.
You obviously can't put it against the "++" operator as such
because... there isn't one. You could put it against the unary
plus operator, but who's going to look there? :)

I've wondered for a while whether it wouldn't be a good move
to include the official (or any other) Python FAQ into the
standard docs set. If we did, that would be the obvious place
for this piece of documentation, seems to me.

TJG



More information about the Python-list mailing list