The cmath.asinh() function to calculate the inverse hyperbolic sine of a given complex number. The input number can be real or complex but the returned value will always be complex.

Syntax:
cmath.asinh(x)
x The value(real or complex) whose inverse hyperbolic sine we want.
Parameters:

The function returns a  complex value representing the hyperbolic sine of in radians. If is a real number, the returned complex value will have 0j as its imaginary part.

ExampleEdit & Run
import cmath

print(cmath.asinh(0.5))
print(cmath.asinh(0.8))
print(cmath.asinh(1 + 2j))
print(cmath.asinh(2+0.4j))
print(cmath.asinh(-2+-0.5j))
Output:
(0.48121182505960347+0j)(0.732668256045411+0j)(1.4693517443681852+1.063440023577752j)(1.4578314575432014+0.17755638965774134j)(-1.4657153519472905-0.22101863562288385j)[Finished in 0.010768082924187183s]

It is important to note that the cmath(complex math) module is made for working primarily with complex numbers. If you are working with real numbers, the math.asinh() maybe more relevant.