From b2ab17aaa706ef3ab9ba5bb4a9bcc6d108970fbb Mon Sep 17 00:00:00 2001 From: Jeong YunWon Date: Thu, 30 Sep 2021 03:45:21 +0900 Subject: [PATCH] clean up to use only public api --- vm/src/stdlib/fcntl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/src/stdlib/fcntl.rs b/vm/src/stdlib/fcntl.rs index 5a0b0a21b..f0302dda8 100644 --- a/vm/src/stdlib/fcntl.rs +++ b/vm/src/stdlib/fcntl.rs @@ -3,7 +3,7 @@ pub(crate) use fcntl::make_module; #[pymodule] mod fcntl { use crate::{ - builtins::int, + builtins::PyIntRef, function::{ArgMemoryBuffer, ArgStrOrBytesLike, OptionalArg}, stdlib::{io, os}, utils::Either, @@ -25,7 +25,7 @@ mod fcntl { fn fcntl( io::Fildes(fd): io::Fildes, cmd: i32, - arg: OptionalArg>, + arg: OptionalArg>, vm: &VirtualMachine, ) -> PyResult { let int = match arg {