summaryrefslogtreecommitdiff
path: root/compar.c
diff options
context:
space:
mode:
Diffstat (limited to 'compar.c')
-rw-r--r--compar.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compar.c b/compar.c
index 65def78484..6762786276 100644
--- a/compar.c
+++ b/compar.c
@@ -54,6 +54,9 @@ cmp_failed(void)
* Compares two objects based on the receiver's <code><=></code>
* method, returning true if it returns 0. Also returns true if
* _obj_ and _other_ are the same object.
+ *
+ * Even if _obj_ <=> _other_ raised an exception, the exception
+ * is ignoread and returns false.
*/
static VALUE