You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guide/src/class.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1312,7 +1312,7 @@ Python::attach(|py| {
1312
1312
# .unwrap();
1313
1313
```
1314
1314
1315
-
WARNING: `Py::new` and `.into_pyobject` are currently inconsistent. Note how the constructed value is _not_ an instance of the specific variant. For this reason, constructing values is only recommended using `.into_pyobject`.
1315
+
WARNING: `Py::new` and `.into_pyobject` are currently inconsistent. Note how the constructed value is *not* an instance of the specific variant. For this reason, constructing values is only recommended using `.into_pyobject`.
Copy file name to clipboardExpand all lines: guide/src/class/protocols.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ given signatures should be interpreted as follows:
78
78
79
79
The implementations of Python's "rich comparison" operators `<`, `<=`, `==`, `!=`, `>` and `>=` respectively.
80
80
81
-
_Note that implementing any of these methods will cause Python not to generate a default `__hash__` implementation, so consider also implementing `__hash__`._
81
+
*Note that implementing any of these methods will cause Python not to generate a default XXXXXXXXXX implementation, so consider also implementing XXXXXXXXXX.*
82
82
<details>
83
83
<summary>Return type</summary>
84
84
The return type will normally be `bool` or `PyResult<bool>`, however any Python object can be returned.
@@ -90,9 +90,9 @@ given signatures should be interpreted as follows:
90
90
The `CompareOp` argument indicates the comparison operation being performed. You can use
91
91
[`CompareOp::matches`] to adapt a Rust `std::cmp::Ordering` result to the requested comparison.
92
92
93
-
_This method cannot be implemented in combination with any of `__lt__`, `__le__`, `__eq__`, `__ne__`, `__gt__`, or `__ge__`._
93
+
*This method cannot be implemented in combination with any of XXXXXXXX, XXXXXXXX, XXXXXXXX, XXXXXXXX, XXXXXXXX, or XXXXXXXX.*
94
94
95
-
_Note that implementing `__richcmp__` will cause Python not to generate a default `__hash__` implementation, so consider implementing `__hash__` when implementing `__richcmp__`._
95
+
*Note that implementing XXXXXXXXXXXXX will cause Python not to generate a default XXXXXXXXXX implementation, so consider implementing XXXXXXXXXX when implementing XXXXXXXXXXXXX.*
96
96
<details>
97
97
<summary>Return type</summary>
98
98
The return type will normally be `PyResult<bool>`, but any Python object can be returned.
0 commit comments