Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
Co-authored-by: Bruno Kolenbrander <59372212+mejrs@users.noreply.github.com>
  • Loading branch information
glevco and mejrs authored Sep 20, 2024
1 parent bcb883c commit 5d95fba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sync.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,9 @@ where
///
/// This is a shorthand method for `get_or_init` which imports the type from Python on init.
///
/// # Example: Using `GILOnceCell` to avoid the overhead of importing a class multiple times
/// # Example: Using `GILOnceCell` to store a class in a static variable.
///
/// `GILOnceCell` can be used to avoid importing a class multiple times
/// ```
/// # use pyo3::prelude::*;
/// # use pyo3::sync::GILOnceCell;
Expand Down

0 comments on commit 5d95fba

Please sign in to comment.