core/kernel.rbs in rbs-3.4.0 vs core/kernel.rbs in rbs-3.4.1
- old
+ new
@@ -443,17 +443,17 @@
| [T] (array[T] | _ToA[T] array_like) -> Array[T]
| [T] (T ele) -> [T]
# <!--
# rdoc-file=complex.c
- # - Complex(abs, arg = 0, exception: true) -> complex or nil
+ # - Complex(real, imag = 0, exception: true) -> complex or nil
# - Complex(s, exception: true) -> complex or nil
# -->
# Returns a new Complex object if the arguments are valid; otherwise raises an
# exception if `exception` is `true`; otherwise returns `nil`.
#
- # With Numeric argument `abs`, returns `Complex.rect(abs, arg)` if the arguments
- # are valid.
+ # With Numeric arguments `real` and `imag`, returns `Complex.rect(real, imag)`
+ # if the arguments are valid.
#
# With string argument `s`, returns a new Complex object if the argument is
# valid; the string may have:
#
# * One or two numeric substrings, each of which specifies a Complex, Float,