mirror of
https://github.com/pybind/pybind11.git
synced 2026-04-20 06:49:25 +00:00
Remove enum from bold in doc (#5903)
* Remove enum from bold in doc * [skip ci] Remove bold formatting around (see #5528) --------- Co-authored-by: Ralf W. Grosse-Kunstleve <rgrossekunst@nvidia.com>
This commit is contained in:
@@ -84,8 +84,8 @@ The following table provides an overview of available policies:
|
||||
| :enum:`return_value_policy::reference_internal` | If the return value is an lvalue reference or a pointer, the parent object |
|
||||
| | (the implicit ``this``, or ``self`` argument of the called method or |
|
||||
| | property) is kept alive for at least the lifespan of the return value. |
|
||||
| | **Otherwise this policy falls back to :enum:`return_value_policy::move` |
|
||||
| | (see #5528).** Internally, this policy works just like |
|
||||
| | **Otherwise this policy falls back to** :enum:`return_value_policy::move` |
|
||||
| | (see #5528). Internally, this policy works just like |
|
||||
| | :enum:`return_value_policy::reference` but additionally applies a |
|
||||
| | ``keep_alive<0, 1>`` *call policy* (described in the next section) that |
|
||||
| | prevents the parent object from being garbage collected as long as the |
|
||||
|
||||
Reference in New Issue
Block a user