From: Yukihiro Matsumoto Date: 2005-09-24T00:41:47+09:00 Subject: Re: Why is this not a syntax error? Hi, In message "Re: Why is this not a syntax error?" on Sat, 24 Sep 2005 00:31:23 +0900, Jamey Cribbs writes: |Switching back and forth between Python and Ruby bit me in the butt |today. For example, consider the following Ruby code: | | a = 1 | | if a == 0 | puts 'zero' | elif a == 1 | puts 'one' | else | puts 'not one' | end It's seen as if a == 0 puts 'zero' elif(a == 1) puts 'one' else puts 'not one' end See? matz.