We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acce49a commit a46443bCopy full SHA for a46443b
pyo3-ffi/src/compat.rs
@@ -11,7 +11,7 @@
11
12
#[cfg(Py_3_13)]
13
mod py313_compat {
14
- use crate::dictobject::PyDict_GetItemRef;
+ pub use crate::dictobject::PyDict_GetItemRef;
15
}
16
#[cfg(not(Py_3_13))]
17
src/types/dict.rs
@@ -727,8 +727,8 @@ mod tests {
727
#[crate::pymethods(crate = "crate")]
728
impl HashErrors {
729
#[new]
730
- fn new() -> PyResult<Self> {
731
- Ok(HashErrors {})
+ fn new() -> Self {
+ HashErrors {}
732
733
734
fn __hash__(&self) -> PyResult<isize> {
0 commit comments