On Fri, 18 Feb 2011 04:43:13 -0800, Xah Lee wrote:

> for example, when you type >= in python, the text editor can
> automatically change it to ≥ (when it detects that it's appropriate,
> e.g. there's a “if” nearby)

You can't rely on the presence of an `if`.

flag = x >= y
value = lookup[x >= y]
filter(lambda x, y: x >= y, sequence)

Not that you need to. There are no circumstances in Python where the 
meaning of >= is changed by an `if` statement.


Followups set to comp.lang.python.


-- 
Steven
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to