Author: Raffael Tfirst <[email protected]>
Branch: py3.5-async
Changeset: r86257:2ec473a26e63
Date: 2016-08-17 19:06 +0200
http://bitbucket.org/pypy/pypy/changeset/2ec473a26e63/
Log: Minor change in TODO for __anext__
diff --git a/pypy/interpreter/typedef.py b/pypy/interpreter/typedef.py
--- a/pypy/interpreter/typedef.py
+++ b/pypy/interpreter/typedef.py
@@ -797,8 +797,9 @@
)
assert not GeneratorIterator.typedef.acceptable_as_base_class # no __new__
-# TODO: to have the same distinction as in cpython 3.5, a wrapper typedef with
-# __anext__ has to be created, and __anext__ has to be removed in coroutine
+# TODO: to have the same distinction (Coroutine | Iterator) as in cpython 3.5,
+# a wrapper typedef with __anext__ has to be created, and __anext__ has to be
+# removed in coroutine
Coroutine.typedef = TypeDef("coroutine",
__repr__ = interp2app(Coroutine.descr__repr__),
__reduce__ = interp2app(Coroutine.descr__reduce__),
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit