Author: Ronan Lamy <[email protected]>
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
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit