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

Because print is a function in 3.1, so you have to follow it with
a parenthesis.

Regards,
Martin
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to