[pypy-commit] pypy py3.7: kill dead attributes

cfbolz pypy.commits at gmail.com
Fri Jan 31 09:48:04 EST 2020


Author: Carl Friedrich Bolz-Tereick <cfbolz at gmx.de>
Branch: py3.7
Changeset: r98614:784f171f4094
Date: 2020-01-31 15:38 +0100
http://bitbucket.org/pypy/pypy/changeset/784f171f4094/

Log:	kill dead attributes

diff --git a/pypy/interpreter/generator.py b/pypy/interpreter/generator.py
--- a/pypy/interpreter/generator.py
+++ b/pypy/interpreter/generator.py
@@ -301,7 +301,6 @@
 class GeneratorIterator(GeneratorOrCoroutine):
     "An iterator created by a generator."
     KIND = "generator"
-    KIND_U = u"generator"
 
     def descr__iter__(self):
         """Implement iter(self)."""
@@ -348,7 +347,6 @@
 class Coroutine(GeneratorOrCoroutine):
     "A coroutine object."
     KIND = "coroutine"
-    KIND_U = u"coroutine"
 
     def descr__await__(self, space):
         return CoroutineWrapper(self)
@@ -502,7 +500,6 @@
 class AsyncGenerator(GeneratorOrCoroutine):
     "An async generator (i.e. a coroutine with a 'yield')"
     KIND = "async generator"
-    KIND_U = u"async_generator"
 
     def __init__(self, frame, name=None, qualname=None):
         self.hooks_inited = False


More information about the pypy-commit mailing list