Skip to content

Commit

Permalink
sets.set_sort_fn: Fix the docstring.
Browse files Browse the repository at this point in the history
The docstring of this function was not properly updated when the code
has been changed.  This commit fixes that.
  • Loading branch information
scolobb committed Aug 1, 2012
1 parent 887fd51 commit e1a8872
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions sympy/core/sets.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,9 +667,8 @@ def as_relational(self, symbol):

def set_sort_fn(s):
"""
Sort by infimum if possible
Otherwise sort by hash. Try to put these at the end.
Sort by infimum if possible. Otherwise sort by
``default_sort_key``.
"""
try:
val = s.inf
Expand Down

0 comments on commit e1a8872

Please sign in to comment.