Skip to content

Commit cf740bf

Browse files
committed
refactor(python): add underscore prefix to internal module function
- Add underscore prefix to `vectorless` function to indicate it's internal - Function is now `_vectorless` to follow Rust naming conventions for private items
1 parent eab706d commit cf740bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ impl PyEngine {
10691069
/// print(answer.single().content)
10701070
/// ```
10711071
#[pymodule]
1072-
fn vectorless(m: &Bound<'_, PyModule>) -> PyResult<()> {
1072+
fn _vectorless(m: &Bound<'_, PyModule>) -> PyResult<()> {
10731073
m.add_class::<VectorlessError>()?;
10741074
m.add_class::<PyIndexOptions>()?;
10751075
m.add_class::<PyIndexContext>()?;

0 commit comments

Comments
 (0)