[Python-3000] PEP: rename it.next() to it.__next__(), add a next() built-in
barry at python.org
Mon Mar 5 23:26:01 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
On Mar 5, 2007, at 5:16 PM, Greg Ewing wrote:
> Also I'm not sure I like this idea. It smells like
> an abuse of the notion of calling to me. One doesn't
> normally expect that calling a callable object has
> a side effect on the callable itself.
Perhaps, but I think there's a valid use case for calling "next"
explicitly, and I would really hate for that to be spelled
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-3000