id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
12477 Graph.relabel modifies the dictionary given as an input ncohen jason ncohen rlm "Well, it's as the title says...
The patch just fixes it in the obvious way, and moves some code around to make it easier to read.
(reported by Nicolas Thiéry)
{{{
sage: g = Graph({1:[2,3]})
sage: rel = {1:'a', 2:'b'}
sage: g.relabel(rel)
sage: g.vertices()
[3, 'a', 'b']
sage: rel
{1: 'a', 2: 'b', 3: 3}
}}}
Nathann" defect closed major sage-5.0 graph theory fixed Cernay2012 nthiery sage-5.0.beta5 Nathann Cohen Nicolas M. Thiéry N/A