Closed songjhaha closed 2 years ago
https://github.com/Suzhou-Tongyuan/jnumpy/blob/65cea6cc6a750911ab2c1545d94af26008e7b240/TyPython/src/CPython.ORM.jl#L343
actually only AbstractArray{<:Number} could success, so:
AbstractArray{<:Number}
function py_cast(::Type{Py}, o::T) where {T <: AbstractArray{<:Number}} ... end
https://github.com/Suzhou-Tongyuan/jnumpy/blob/65cea6cc6a750911ab2c1545d94af26008e7b240/TyPython/src/CPython.ORM.jl#L343
actually only
AbstractArray{<:Number}
could success, so: