Note
This documents the development version of NetworkX. Documentation for the current release can be found here.
pairwise
s -> (s0, s1), (s1, s2), (s2, s3), …