summaryrefslogtreecommitdiff
path: root/complex.c
diff options
context:
space:
mode:
authorBurdetteLamar <burdettelamar@yahoo.com>2025-12-15 20:35:27 +0000
committerPeter Zhu <peter@peterzhu.ca>2025-12-15 17:27:54 -0500
commitacbf55f4e6658f94e49f28b4df21ab0c29683c4b (patch)
tree32e6986b1df07f45637d120c5b220af18ebd7e05 /complex.c
parent7fbf321d23f3cc20988c80fae25ce131a5d1b231 (diff)
[DOC] Harmonize #- methods
Diffstat (limited to 'complex.c')
-rw-r--r--complex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/complex.c b/complex.c
index c34c798a15..2a92f4c702 100644
--- a/complex.c
+++ b/complex.c
@@ -861,9 +861,9 @@ rb_complex_plus(VALUE self, VALUE other)
/*
* call-seq:
- * complex - numeric -> new_complex
+ * self - other -> complex
*
- * Returns the difference of +self+ and +numeric+:
+ * Returns the difference of +self+ and +other+:
*
* Complex.rect(2, 3) - Complex.rect(2, 3) # => (0+0i)
* Complex.rect(900) - Complex.rect(1) # => (899+0i)