@@ -12,17 +12,20 @@ From Python, this occurs when converting the return value of a Julia function.
1212| From | To |
1313| :------------------------------------------------------------------ | :------------------------------------------------------ |
1414| Any Python object type (` Py ` , ` PyList ` , etc.) | itself |
15- | ` Nothing ` , ` Missing ` | ` None ` |
15+ | ` Nothing ` | ` None ` |
1616| ` Bool ` | ` bool ` |
17- | Standard integer (` IntXX ` , ` UIntXX ` , ` BigInt ` ) | ` int ` |
18- | Standard rational (` Rational{T} ` , ` T ` a standard integer) | ` fractions.Fraction ` |
19- | Standard float (` FloatXX ` ) | ` float ` |
20- | Standard complex (` Complex{T} ` , ` T ` a standard float) | ` complex ` |
21- | Standard string/char (` String ` and ` SubString{String} ` , ` Char ` ) | ` str ` |
22- | ` Tuple ` | ` tuple ` |
23- | Standard integer range (` AbstractRange{T} ` , ` T ` a standard integer) | ` range ` |
24- | ` Date ` , ` Time ` , ` DateTime ` (from ` Dates ` ) | ` date ` , ` time ` , ` datetime ` (from ` datetime ` ) |
25- | ` Second ` , ` Millisecond ` , ` Microsecond ` , ` Nanosecond ` (from ` Dates ` ) | ` timedelta ` (from ` datetime ` ) |
17+ | ` Integer ` | ` int ` |
18+ | ` Rational{<:Integer} ` | ` fractions.Fraction ` |
19+ | ` Float64 ` , ` Float32 ` , ` Float16 ` | ` float ` |
20+ | ` Complex{Float64} ` , ` Complex{Float32} ` , ` Complex{Float16} ` | ` complex ` |
21+ | ` AbstractString ` , ` AbstractChar ` | ` str ` |
22+ | ` Base.CodeUnits{UInt8} ` (e.g. ` b"example" ` ) | ` bytes ` |
23+ | ` Tuple ` , ` Pair ` | ` tuple ` |
24+ | ` AbstractRange{<:Integer} ` | ` range ` |
25+ | ` Dates.Date ` | ` datetime.date ` |
26+ | ` Dates.Time ` | ` datetime.time ` |
27+ | ` Dates.DateTime ` | ` datetime.datetime ` |
28+ | ` Dates.Second ` , ` Dates.Millisecond ` , ` Dates.Microsecond ` , ` Dates.Nanosecond ` | ` datetime.timedelta ` |
2629| ` Number ` | ` juliacall.NumberValue ` , ` juliacall.ComplexValue ` , etc. |
2730| ` AbstractArray ` | ` juliacall.ArrayValue ` , ` juliacall.VectorValue ` |
2831| ` AbstractDict ` | ` juliacall.DictValue ` |
0 commit comments