Wolfgang Maier added the comment:

Given your comment about sum((fullacount & fullbcount).values()), why not use 
its in-place version:

fullacount &= fullbcount
matches = sum(fullacount.values())

?

----------
nosy: +wolma

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26904>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to