From 2b708783e90a31a08f9a3a9488eef408382c0f0a Mon Sep 17 00:00:00 2001 From: arman-ddl <122062464+arman-ddl@users.noreply.github.com> Date: Fri, 15 Mar 2024 11:25:55 -0700 Subject: [PATCH] Polish pydoc Co-authored-by: Chip Kent <5250374+chipkent@users.noreply.github.com> --- py/server/deephaven/jcompat.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/py/server/deephaven/jcompat.py b/py/server/deephaven/jcompat.py index 86d7b78d677..7ab86dd9522 100644 --- a/py/server/deephaven/jcompat.py +++ b/py/server/deephaven/jcompat.py @@ -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")