Lawrence D'Oliveiro writes:
> In message <87hbxkm7n2@benfinney.id.au>, Ben Finney wrote:
>
> > For this and other differences introduced in the Python 3.x series, see
> > http://www.python.org/dev/peps/pep-3100/>.
>
> People never thank you for an "RTFM" response.
It's a good thing I avoid
In message <87hbxkm7n2@benfinney.id.au>, Ben Finney wrote:
> For this and other differences introduced in the Python 3.x series, see
> http://www.python.org/dev/peps/pep-3100/>.
People never thank you for an "RTFM" response.
--
http://mail.python.org/mailman/listinfo/python-list
"earthlink" 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
http://www.python.org/dev/peps/pep-3100/>.
--
\ “Please do not feed the animals. I
> 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
On Fri, Jul 10, 2009 at 2:16 PM, earthlink wrote:
> Why does
> print "GarbageCollector: collected %d objects." % (gc.collect())
>
> work in 2.4 but not in 3.1?
Define "works". What error are you getting? Include the exact message
and full error traceback.
Or if no exception is being raised, explai