auto-increment operator - why no syntax error?
Steve Howell
showell30 at yahoo.com
Sat Dec 8 20:25:12 EST 2007
More information about the Python-list mailing list
Sat Dec 8 20:25:12 EST 2007
- Previous message (by thread): auto-increment operator - why no syntax error?
- Next message (by thread): how to convert 3 byte to float
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
--- Marc 'BlackJack' Rintsch <bj_666 at gmx.net> wrote: > On Sat, 08 Dec 2007 16:58:25 -0800, Karthik Gurusamy > wrote: > > > Why are the following accepted even without a > warning about syntax > > error? > > (I would expect the python grammar should catch > these kind of syntax > > errors) > >>>> 2 * +++++ n Does pychecker catch this? Although I see why the language allows it, my guess is that most people chain unary plus operations accidentally, not intentionally. ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
- Previous message (by thread): auto-increment operator - why no syntax error?
- Next message (by thread): how to convert 3 byte to float
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list