Skip to content

Commit aef2813

Browse files
committed
Reformat table
1 parent 65c5480 commit aef2813

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/user/Jython.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,18 @@ more dynamic approach to matching — Python types emulating `int` or
6363
example, to use Pandas frames as `double[][]` or NumPy array elements as `int[]`
6464
when the elements fit into those Java primitive types.
6565

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` |
7474
| `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 |
7878

7979
### Special Jython Modules
8080
Any of the special Jython modules are not available. For example, the `jarray`

0 commit comments

Comments
 (0)