ignoring pyc
added edges() method