Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
feat: PY3.5+ compatibility: xrange()
Browse files Browse the repository at this point in the history
  • Loading branch information
ankostis committed Jun 8, 2018
1 parent 8c8bb55 commit c07796c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/gephi/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion examples/graphviz/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down
2 changes: 1 addition & 1 deletion examples/graphviz/recursive.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def main():
graphviz.output_file = 'recursive.png'

with PyCallGraph(output=graphviz):
for a in xrange(1, 10):
for a in range(1, 10):
factorial(a)


Expand Down

0 comments on commit c07796c

Please sign in to comment.