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

Commit

Permalink
Trac 15278: Fix syntax error in doc test
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-king-jena committed Dec 29, 2013
1 parent fcf9e30 commit 2525d22
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/graphs/generic_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,8 +820,7 @@ def __copy__(self, implementation='c_graph', data_structure=None,
backend, then the copy is not identic with the graph, even though it is
considered to be hashable::

sage: P = Poset(([1,2,3,4], [[1,3],[1,4],[2,3]]),
linear_extension=True, facade = False)
sage: P = Poset(([1,2,3,4], [[1,3],[1,4],[2,3]]), linear_extension=True, facade = False)
sage: H = P.hasse_diagram()
sage: H._immutable = True
sage: hash(H) # random
Expand Down

0 comments on commit 2525d22

Please sign in to comment.