ob_shash is available on CPython

This struct is opaque on PyPy anyways, so the conditional didn't make sense.
This commit is contained in:
Alex Gaynor 2022-06-04 15:01:54 -04:00 committed by GitHub
parent 9777faddc6
commit 485994fa90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -7,7 +7,6 @@ use std::os::raw::{c_char, c_int};
#[derive(Copy, Clone)]
pub struct PyBytesObject {
pub ob_base: PyVarObject,
#[cfg(PyPy)]
pub ob_shash: crate::Py_hash_t,
pub ob_sval: [c_char; 1],
}