Ticket #3626: 3626_graphboundary.patch
| File 3626_graphboundary.patch, 0.9 kB (added by boothby, 4 months ago) |
|---|
-
a/sage/graphs/graph.py
old new 894 894 sage: G.set_boundary([0,1,2,3,4]) 895 895 sage: G.get_boundary() 896 896 [0, 1, 2, 3, 4] 897 897 sage: G.set_boundary((1..4)) 898 sage: G.get_boundary() 899 [1, 2, 3, 4] 898 900 """ 899 901 if isinstance(boundary,list): 900 902 self._boundary = boundary 903 else: 904 self._boundary = list(boundary) 901 905 902 906 def set_embedding(self, embedding): 903 907 """