2009/9/23 Wee Binn <weeb...@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/ _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com