Skip to content

Commit

Permalink
Mark METH_FASTCALL as limited API on Python 3.10+
Browse files Browse the repository at this point in the history
  • Loading branch information
messense committed Mar 26, 2022
1 parent 6385385 commit b2bc5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyo3-ffi/src/methodobject.rs
Expand Up @@ -179,7 +179,7 @@ pub const METH_COEXIST: c_int = 0x0040;

/* METH_FASTCALL indicates the PEP 590 Vectorcall calling format. It may
be specified alone or with METH_KEYWORDS. */
#[cfg(not(Py_LIMITED_API))]
#[cfg(any(Py_3_10, not(Py_LIMITED_API)))]
pub const METH_FASTCALL: c_int = 0x0080;

// skipped METH_STACKLESS
Expand Down

0 comments on commit b2bc5d3

Please sign in to comment.