Merge pull request #787 from palaviv/os-fd

Add os.{read,write,remove,unlink}
This commit is contained in:
Windel Bouwman
2019-04-06 17:02:31 +02:00
committed by GitHub
3 changed files with 74 additions and 3 deletions

View File

@@ -17,7 +17,7 @@ use super::objtype::PyClassRef;
pub struct PyBytes {
value: Vec<u8>,
}
type PyBytesRef = PyRef<PyBytes>;
pub type PyBytesRef = PyRef<PyBytes>;
impl PyBytes {
pub fn new(data: Vec<u8>) -> Self {