API: moved pairwise.py to _pairwise.py