[pypy-svn] r32175 - pypy/dist/pypy/annotation

fijal at codespeak.net fijal at codespeak.net
Mon Sep 11 18:42:51 CEST 2006


Author: fijal
Date: Mon Sep 11 18:42:50 2006
New Revision: 32175

Modified:
   pypy/dist/pypy/annotation/model.py
Log:
Allow it to be None.


Modified: pypy/dist/pypy/annotation/model.py
==============================================================================
--- pypy/dist/pypy/annotation/model.py	(original)
+++ pypy/dist/pypy/annotation/model.py	Mon Sep 11 18:42:50 2006
@@ -433,7 +433,7 @@
     attributes as well as methods
     """
     def can_be_none(self):
-        return False
+        return True
 
 class SomeCTypesObject(SomeExternalObject):
     """Stands for an object of the ctypes module."""



More information about the Pypy-commit mailing list