Skip to content

Commit

Permalink
Polish pydoc
Browse files Browse the repository at this point in the history
Co-authored-by: Chip Kent <[email protected]>
  • Loading branch information
arman-ddl and chipkent committed Mar 15, 2024
1 parent 95e599a commit 2b70878
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions py/server/deephaven/jcompat.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ def _j_array_to_series(dtype: DType, j_array: jpy.JType, conv_null: bool) -> pd.


class SafeCloseable(JObjectWrapper):
"""A context manager wrapper to allow Java SafeCloseable to be used in with statements. Assumes Java
SafeCloseable has not been closed yet."""
"""A context manager wrapper to allow Java SafeCloseable to be used in with statements.
When constructing a new instance, the Java SafeCloseable must not be closed."""

j_object_type = jpy.get_type("io.deephaven.util.SafeCloseable")

Expand Down

0 comments on commit 2b70878

Please sign in to comment.