@@ -63,18 +63,18 @@ more dynamic approach to matching — Python types emulating `int` or
63
63
example, to use Pandas frames as ` double[][] ` or NumPy array elements as ` int[] `
64
64
when the elements fit into those Java primitive types.
65
65
66
- | Java type | Python type |
67
- | :--------------------------------| :--------------------------------------------------------------------------|
68
- | ` null ` | ` None ` |
69
- | ` boolean ` | ` bool ` |
70
- | ` byte ` , ` short ` , ` int ` , ` long ` | ` int ` , any object that has an ` __int__ ` method |
71
- | ` float ` , ` double ` | ` float ` , any object that has a ` __float__ ` method |
72
- | ` char ` | ` str ` of length 1 |
73
- | ` java.lang.String ` | ` str ` |
66
+ | Java type | Python type |
67
+ | :--------------------------------| :-------------------------------------------------------------------------------------- |
68
+ | ` null ` | ` None ` |
69
+ | ` boolean ` | ` bool ` |
70
+ | ` byte ` , ` short ` , ` int ` , ` long ` | ` int ` , any object that has an ` __int__ ` method |
71
+ | ` float ` , ` double ` | ` float ` , any object that has a ` __float__ ` method |
72
+ | ` char ` | ` str ` of length 1 |
73
+ | ` java.lang.String ` | ` str ` |
74
74
| ` byte[] ` | ` bytes ` , ` bytearray ` , wrapped Java array, Python list with only the appropriate types |
75
- | Java arrays | Wrapped Java array or Python list with only the appropriate types |
76
- | Java objects | Wrapped Java object of the appropriate type |
77
- | ` java.lang.Object ` | Any object |
75
+ | Java arrays | Wrapped Java array or Python list with only the appropriate types |
76
+ | Java objects | Wrapped Java object of the appropriate type |
77
+ | ` java.lang.Object ` | Any object |
78
78
79
79
### Special Jython Modules
80
80
Any of the special Jython modules are not available. For example, the ` jarray `
0 commit comments