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,16 @@ use std::cell::Cell;
use std::hash::{Hash, Hasher};
use std::ops::Deref;
use super::objint;
use super::objtype;
use num_traits::ToPrimitive;
use crate::function::PyFuncArgs;
use crate::pyobject::{
PyContext, PyFuncArgs, PyIteratorValue, PyObject, PyObjectRef, PyResult, PyValue, TypeProtocol,
PyContext, PyIteratorValue, PyObject, PyObjectRef, PyResult, PyValue, TypeProtocol,
};
use crate::vm::VirtualMachine;
use num_traits::ToPrimitive;
use super::objint;
use super::objtype;
#[derive(Debug)]
pub struct PyBytes {