From de7240e0c15d1f6f1f7806d5833f5d203dee01f5 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Tue, 28 Mar 2023 18:03:30 +0800 Subject: [PATCH] some rename --- python/{dict.py => _dict.py} | 0 python/{set.py => _set.py} | 0 src/pocketpy.h | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) rename python/{dict.py => _dict.py} (100%) rename python/{set.py => _set.py} (100%) diff --git a/python/dict.py b/python/_dict.py similarity index 100% rename from python/dict.py rename to python/_dict.py diff --git a/python/set.py b/python/_set.py similarity index 100% rename from python/set.py rename to python/_set.py diff --git a/src/pocketpy.h b/src/pocketpy.h index ac5fd710..21dfeab9 100644 --- a/src/pocketpy.h +++ b/src/pocketpy.h @@ -774,9 +774,9 @@ inline void VM::post_init(){ CodeObject_ code = compile(kPythonLibs["builtins"], "", EXEC_MODE); this->_exec(code, this->builtins); - code = compile(kPythonLibs["dict"], "", EXEC_MODE); + code = compile(kPythonLibs["_dict"], "", EXEC_MODE); this->_exec(code, this->builtins); - code = compile(kPythonLibs["set"], "", EXEC_MODE); + code = compile(kPythonLibs["_set"], "", EXEC_MODE); this->_exec(code, this->builtins); // property is defined in builtins.py so we need to add it after builtins is loaded