[docs] Invalid method name in example for multiprocessing 3.2

Viktor Lucza viktor.lucza at gmail.com
Fri Nov 8 14:00:29 CET 2013


The problem was found here:
http://docs.python.org/3.2/library/multiprocessing.html#module-multiprocessing.pool

I believe one of these should be called next instead of __next__:

# Proxy type for generator objectsclass GeneratorProxy(BaseProxy):
    _exposed_ = ('next', '__next__')
    def __iter__(self):
        return self
    def __next__(self):
        return self._callmethod('next')
    def __next__(self):
        return self._callmethod('__next__')


-- 
Viktor Lucza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20131108/0ada5bb7/attachment.html>


More information about the docs mailing list