Skip to content

Commit 5e317f0

Browse files
authored
docs: bump rumdl to fix sentence-per-line for i.e., .e.g (#5805)
1 parent 064e53d commit 5e317f0

File tree

5 files changed

+13
-17
lines changed

5 files changed

+13
-17
lines changed

guide/src/building-and-distribution/multiple-python-versions.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ This `#[cfg]` marks code that will only be present on Python versions before (bu
7676
#[cfg(not(Py_LIMITED_API))]
7777
```
7878

79-
This `#[cfg]` marks code that is only available when building for the unlimited Python API (i.e.
80-
PyO3's `abi3` feature is not enabled).
79+
This `#[cfg]` marks code that is only available when building for the unlimited Python API (i.e. PyO3's `abi3` feature is not enabled).
8180
This might be useful if you want to ship your extension module as an `abi3` wheel and also allow users to compile it from source to make use of optimizations only possible with the unlimited API.
8281

8382
```text

guide/src/features.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ Disabling this feature enables faster builds for those users, as these dependenc
9797
This feature enables each `#[pyclass]` to have more than one `#[pymethods]` block.
9898

9999
Most users should only need a single `#[pymethods]` per `#[pyclass]`.
100-
In addition, not all platforms (e.g.
101-
Wasm) are supported by `inventory`, which is used in the implementation of the feature.
100+
In addition, not all platforms (e.g. Wasm) are supported by `inventory`, which is used in the implementation of the feature.
102101
For this reason this feature is not enabled by default, meaning fewer dependencies and faster compilation for the majority of users.
103102

104103
See [the `#[pyclass]` implementation details](class.md#implementation-details) for more information.

guide/src/function.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ It can take any combination of the following options:
8181
It is then possible to use the module in the function body.
8282
The first argument **must** be of type `&Bound<'_, PyModule>`, `Bound<'_, PyModule>`, or `Py<PyModule>`.
8383

84-
The following example creates a function `pyfunction_with_module` which returns the containing module's name (i.e.
85-
`module_with_fn`):
84+
The following example creates a function `pyfunction_with_module` which returns the containing module's name (i.e. `module_with_fn`):
8685

8786
```rust,no_run
8887
#[pyo3::pymodule]

guide/src/migration.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2143,8 +2143,7 @@ If you need this functionality, you must enable the `multiple-pymethods` feature
21432143
<details>
21442144
<summary><small>Click to expand</small></summary>
21452145

2146-
Some protocol (aka `__dunder__`) methods such as `__bytes__` and `__format__` have been possible to implement two ways in PyO3 for some time: via a `#[pyproto]` (e.g.
2147-
`PyObjectProtocol` for the methods listed here), or by writing them directly in `#[pymethods]`.
2146+
Some protocol (aka `__dunder__`) methods such as `__bytes__` and `__format__` have been possible to implement two ways in PyO3 for some time: via a `#[pyproto]` (e.g. `PyObjectProtocol` for the methods listed here), or by writing them directly in `#[pymethods]`.
21482147
This is only true for a handful of the `#[pyproto]` methods (for technical reasons to do with the way PyO3 currently interacts with the Python C-API).
21492148

21502149
In the interest of having only one way to do things, the `#[pyproto]` forms of these methods have been deprecated.

uv.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)