[pypy-commit] pypy refactor-str-types: change None to False

fijal noreply at buildbot.pypy.org
Mon Aug 26 19:09:58 CEST 2013


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: refactor-str-types
Changeset: r66328:95efef15ffbe
Date: 2013-08-26 18:09 +0100
http://bitbucket.org/pypy/pypy/changeset/95efef15ffbe/

Log:	change None to False

diff --git a/rpython/annotator/description.py b/rpython/annotator/description.py
--- a/rpython/annotator/description.py
+++ b/rpython/annotator/description.py
@@ -148,7 +148,7 @@
     def mergecallfamilies(self, *others):
         """Merge the call families of the given Descs into one."""
         if not others:
-            return
+            return False
         call_families = self.bookkeeper.pbc_maximal_call_families
         changed, rep, callfamily = call_families.find(self.rowkey())
         for desc in others:


More information about the pypy-commit mailing list