File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
docs/source/contributor-guide Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ PyO3 class mutability guidelines
146146
147147PyO3 bindings should present immutable wrappers whenever a struct stores shared or
148148interior-mutable state. In practice this means that any ``#[pyclass] `` containing an
149- ``Arc<RwLock<_>> `` or similar synchronized primitive must opt into ``#[pyclass(from_py_object, frozen)] ``
149+ ``Arc<RwLock<_>> `` or similar synchronized primitive must opt into ``#[pyclass(frozen)] ``
150150unless there is a compelling reason not to.
151151
152152The :mod: `datafusion ` configuration helpers illustrate the preferred pattern. The
Original file line number Diff line number Diff line change 1818use datafusion:: logical_expr:: expr:: SetComparison ;
1919use pyo3:: prelude:: * ;
2020
21- use crate :: expr:: PyExpr ;
22-
2321use super :: subquery:: PySubquery ;
22+ use crate :: expr:: PyExpr ;
2423
2524#[ pyclass(
2625 from_py_object,
You can’t perform that action at this time.
0 commit comments