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")