Why is there no post-pre increment operator in python

Peter Hansen peter at engcorp.com
Fri Jan 13 06:57:19 EST 2006


riteshtijoriwala at gmail.com wrote:
> Anyone has any idea on why is there no post/pre increment operators in
> python ?  
> Although the statement:
> ++j
> works but does nothing

The reason is pretty complex, but here it is:  Python is not C.

-Peter




More information about the Python-list mailing list