[pypy-commit] pypy default: remove unused attributes of SomeNone

rlamy noreply at buildbot.pypy.org
Wed May 28 18:13:43 CEST 2014


Author: Ronan Lamy <ronan.lamy at gmail.com>
Branch: 
Changeset: r71754:042a8399aa2c
Date: 2014-05-28 17:13 +0100
http://bitbucket.org/pypy/pypy/changeset/042a8399aa2c/

Log:	remove unused attributes of SomeNone

diff --git a/rpython/annotator/model.py b/rpython/annotator/model.py
--- a/rpython/annotator/model.py
+++ b/rpython/annotator/model.py
@@ -514,18 +514,12 @@
             return kt.__name__
 
 class SomeNone(SomeObject):
-    can_be_None = True
-    subset_of = None
     knowntype = type(None)
     const = None
 
     def __init__(self):
         pass
 
-    @property
-    def descriptions(self):
-        return set()
-
     def is_constant(self):
         return True
 


More information about the pypy-commit mailing list