Author: Maciej Fijalkowski <[email protected]>
Branch: refactor-str-types
Changeset: r66326:60bfe1a4f6d5
Date: 2013-08-26 17:57 +0100
http://bitbucket.org/pypy/pypy/changeset/60bfe1a4f6d5/

Log:    I think it's ok to ignore mergecallfamilies if there are no others

diff --git a/rpython/annotator/description.py b/rpython/annotator/description.py
--- a/rpython/annotator/description.py
+++ b/rpython/annotator/description.py
@@ -147,6 +147,8 @@
 
     def mergecallfamilies(self, *others):
         """Merge the call families of the given Descs into one."""
+        if not others:
+            return
         call_families = self.bookkeeper.pbc_maximal_call_families
         changed, rep, callfamily = call_families.find(self.rowkey())
         for desc in others:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to