Skip pymethods hygiene on `multiple-pymethods`

This commit is contained in:
mejrs 2021-10-03 01:41:22 +02:00
parent af67acb644
commit 31589f09e3
1 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,8 @@ mod hygiene {
mod misc;
mod pyclass;
mod pyfunction;
// cannot implement protos in #[pymethods] using `multiple-pymethods` feature
#[cfg(not(feature = "multiple-pymethods"))]
mod pymethods;
mod pymodule;
mod pyproto;