History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: BOO-414
Type: New Feature New Feature
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: Doug H
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Boo

chained comparisons

Created: 01/Aug/05 12:10 PM   Updated: 24/Sep/05 09:59 PM
Component/s: Parser, Compiler
Affects Version/s: 0.5.6
Fix Version/s: None

Time Tracking:
Not Specified

Issue Links:
Duplicate
 


 Description  « Hide
Python allows chaining comparisons like so:

weight = 400
print 0 < weight < 1000

a = b = c = object()
print a is b is c

http://docs.python.org/ref/comparisons.html



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
There are no comments yet on this issue.