From f3050d75e939cc02af17199dd5df9f82b51d92c8 Mon Sep 17 00:00:00 2001 From: Hyunmin Shin Date: Fri, 12 Aug 2022 17:48:58 +0900 Subject: [PATCH] refactor: Remove stdlib::self --- vm/src/stdlib/sys.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vm/src/stdlib/sys.rs b/vm/src/stdlib/sys.rs index 6e04d665e..d297417ba 100644 --- a/vm/src/stdlib/sys.rs +++ b/vm/src/stdlib/sys.rs @@ -12,7 +12,7 @@ mod sys { }, frame::FrameRef, function::{FuncArgs, OptionalArg, PosArgs}, - stdlib::{self, builtins}, + stdlib::builtins, types::PyStructSequence, version, vm::{Settings, VirtualMachine}, @@ -661,7 +661,7 @@ mod sys { #[pyclass(with(PyStructSequence))] impl PyThreadInfo { const INFO: Self = PyThreadInfo { - name: stdlib::thread::_thread::PYTHREAD_NAME, + name: crate::stdlib::thread::_thread::PYTHREAD_NAME, /// As I know, there's only way to use lock as "Mutex" in Rust /// with satisfying python document spec. lock: Some("mutex+cond"),