Correction: Pascal inc(), not int()

Michael Hudson mwh21 at
Mon Mar 20 19:19:45 CET 2000

"Adrian Eyre" <a.eyre at> writes:

> Not possible without some extreme extension module hack, which is not
> recommended. The problem is rebinding the new value into the calling
> function's namespace. If you call a function like this...

Not possible *with* an extreme module hack, unless you want to see

>>> i = 1
>>> inc(i)
>>> i
2 # that's good
>>> 1
2 # *that's* not!


very few people approach me in real life and insist on proving they are
drooling idiots.                         -- Erik Naggum, comp.lang.lisp

More information about the Python-list mailing list