File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ impl Context {
128
128
}
129
129
}
130
130
131
- /// Add a wrapped #[pyfunction] or #[pymodule] using its own `__name__`.
131
+ /// Add a wrapped ` #[pyfunction]` or ` #[pymodule]` using its own `__name__`.
132
132
///
133
133
/// Use this with `pyo3::wrap_pyfunction` or `pyo3::wrap_pymodule`.
134
134
///
@@ -158,7 +158,7 @@ impl Context {
158
158
self . add_wrapped_with_gil ( Python :: acquire_gil ( ) . python ( ) , wrapper) ;
159
159
}
160
160
161
- /// Add a wrapped #[pyfunction] or #[pymodule] using its own `__name__`.
161
+ /// Add a wrapped ` #[pyfunction]` or ` #[pymodule]` using its own `__name__`.
162
162
///
163
163
/// See [Context::add_wrapped].
164
164
pub fn add_wrapped_with_gil < ' p > ( & self , py : Python < ' p > , wrapper : & impl Fn ( Python ) -> PyResult < & PyCFunction > ) {
You can’t perform that action at this time.
0 commit comments