Skip to content

Commit 08bf45f

Browse files
committed
Formatting.
1 parent 202af3b commit 08bf45f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/context.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
use crate::run::run_python_code;
21
use crate::PythonBlock;
2+
use crate::run::run_python_code;
33
use pyo3::{
4+
FromPyObject, IntoPyObject, Py, PyResult, Python,
45
prelude::*,
56
types::{PyCFunction, PyDict},
6-
FromPyObject, IntoPyObject, Py, PyResult, Python,
77
};
88

99
/// An execution context for Python code.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
//!
112112
//! Everything else should work fine.
113113
114-
use pyo3::{types::PyDict, Bound, Python};
114+
use pyo3::{Bound, Python, types::PyDict};
115115

116116
mod context;
117117
mod run;

src/run.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::Context;
2-
use pyo3::{ffi, types::PyAny, Bound, PyObject, PyResult, Python};
2+
use pyo3::{Bound, PyObject, PyResult, Python, ffi, types::PyAny};
33

44
pub fn run_python_code<'p>(py: Python<'p>, context: &Context, bytecode: &[u8]) -> PyResult<Bound<'p, PyAny>> {
55
unsafe {

0 commit comments

Comments
 (0)