2.4 VS 3.1 for simple print

Ben Finney ben+python at benfinney.id.au
Fri Jul 10 19:37:53 EDT 2009


"earthlink" <noen> writes:

> Why does 
> 
> print "GarbageCollector: collected %d objects." % (gc.collect())
> 
> work in 2.4 but not in 3.1?

For this and other differences introduced in the Python 3.x series, see
<URL:http://www.python.org/dev/peps/pep-3100/>.

-- 
 \     “Please do not feed the animals. If you have any suitable food, |
  `\                     give it to the guard on duty.” —zoo, Budapest |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list