Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
trac #13418 details (pep8)
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Dec 28, 2014
1 parent 45dfc88 commit 77b51ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sage/graphs/generic_graph.py
Expand Up @@ -16543,8 +16543,8 @@ def g_ivank_string(self):
"""
size = len(self)
g = self.canonical_label()
edges = ','.join("%s-%s" % (e[0]+1,e[1]+1) for e in g.edges())
return "%s:%s" % (size, edges)
edges = ','.join("{}-{}".format(e[0] + 1, e[1] + 1) for e in g.edges())
return "{}:{}".format(size, edges)

### Spectrum

Expand Down

0 comments on commit 77b51ab

Please sign in to comment.