Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update stdlib/src/pyexpat.rs
Co-authored-by: Jeong, YunWon <69878+youknowone@users.noreply.github.com>
  • Loading branch information
ShaharNaveh and youknowone authored Aug 20, 2025
commit 76b65a28c84a900e2c00711d17ed9fed10be1fc1
10 changes: 2 additions & 8 deletions stdlib/src/pyexpat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ mod _pyexpat {

type MutableObject = PyRwLock<PyObjectRef>;

#[pyattr]
pub fn version_info(vm: &VirtualMachine) -> PyTupleRef {
vm.ctx.new_tuple(vec![
PyInt::from(2).into_pyobject(vm),
PyInt::from(7).into_pyobject(vm),
PyInt::from(1).into_pyobject(vm),
])
}
#[pyattr(name = "version_info")]
pub const VERSION_INFO: (u32, u32, u32) = (2, 7, 1);

#[pyattr]
#[pyclass(name = "xmlparser", module = false, traverse)]
Expand Down
Loading