Move function items out of pyobject module

This commit is contained in:
Joey
2019-03-15 21:27:11 -07:00
parent fa9e48a5b3
commit 7bfd2e6e84
58 changed files with 670 additions and 628 deletions

View File

@@ -2,13 +2,13 @@
*/
use crate::bytecode;
use crate::pyobject::{
IdProtocol, PyContext, PyFuncArgs, PyObjectRef, PyResult, PyValue, TypeProtocol,
};
use crate::vm::VirtualMachine;
use std::fmt;
use crate::bytecode;
use crate::function::PyFuncArgs;
use crate::pyobject::{IdProtocol, PyContext, PyObjectRef, PyResult, PyValue, TypeProtocol};
use crate::vm::VirtualMachine;
pub struct PyCode {
code: bytecode::CodeObject,
}