[Python-Dev] surprised to "++" and "--"
Facundo Batista
facundobatista at gmail.com
Fri Sep 25 15:13:07 CEST 2009
More information about the Python-Dev mailing list
Fri Sep 25 15:13:07 CEST 2009
- Previous message: [Python-Dev] surprised to "++" and "--"
- Next message: [Python-Dev] thinking about 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2009/9/23 Wee Binn <weebinn at gmail.com>: > I know that there is no "++" or "--" operator in python, but if "var++" > or something like that in my code(you know, most of C/C++ coders may like > this),there is nothing wrong reported and program goes on just like > expected!! > This is obscure, maybe a bug. You can not write "var++": >>> var = 5 >>> var++ File "<ipython console>", line 1 var++ ^ SyntaxError: invalid syntax >>> -- . Facundo Blog: http://www.taniquetil.com.ar/plog/ PyAr: http://www.python.org/ar/
- Previous message: [Python-Dev] surprised to "++" and "--"
- Next message: [Python-Dev] thinking about 2.7
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list