mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-17 01:51:39 +09:00
Merge pull request #787 from palaviv/os-fd
Add os.{read,write,remove,unlink}
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user