The if pair[0].__class__ is int: statement handles the blockedPair when it is called from duplicateCluster to yeild pair of the keys of the blocked_keys
https://github.com/nikitsaraf/dedupe/blob/data-matching/dedupe/api.py#L400