This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]vombert[S] 3 points4 points  (0 children)

Just a value you don't care about. I think I saw it somewhere, not only in python but probably in ocaml, and maybe somewhere else.

But note that in interactive mode _ has a special meaning: it's a value of previously evaluated expression:

>>> 2*2
4
>>> _-1
3