Example #1
0
 def _is_sorted(self, x):
     """return True if x is sorted in ascending order"""
     # We don't handle the monotonically decreasing case.
     return _path.is_sorted(x)
Example #2
0
 def _is_sorted(self, x):
     """return True if x is sorted in ascending order"""
     # We don't handle the monotonically decreasing case.
     return _path.is_sorted(x)