Make next Python 2/3 consistent (pattern.graph)
@@ -11,7 +11,7 @@ from __future__ import division
from builtins import str, bytes, dict, int
from builtins import map, zip, filter
-from builtins import object, range
+from builtins import object, range, next
import os
import sys
