From 4465c957f19a6f2add05bdc4600cf4086b571c8e Mon Sep 17 00:00:00 2001 From: Kostis Anagnostopoulos Date: Fri, 8 Jun 2018 18:15:42 +0200 Subject: [PATCH] feat: PY3.5+ compatibility: xrange() --- examples/gephi/basic.py | 2 +- examples/graphviz/basic.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/gephi/basic.py b/examples/gephi/basic.py index 1f15fcc..14b15f2 100755 --- a/examples/gephi/basic.py +++ b/examples/gephi/basic.py @@ -34,7 +34,7 @@ def main(): with PyCallGraph(output=gephi): person = Person() - for a in xrange(10): + for a in range(10): person.add_banana(Banana()) person.eat_bananas() diff --git a/examples/graphviz/basic.py b/examples/graphviz/basic.py index 6404af5..63b476a 100755 --- a/examples/graphviz/basic.py +++ b/examples/graphviz/basic.py @@ -34,7 +34,7 @@ def main(): with PyCallGraph(output=graphviz): person = Person() - for a in xrange(10): + for a in range(10): person.add_banana(Banana()) person.eat_bananas()