mirror of
https://github.com/RustPython/RustPython.git
synced 2026-06-09 22:49:57 +09:00
@@ -103,11 +103,11 @@ mod decl {
|
||||
#[derive(FromArgs)]
|
||||
#[allow(dead_code)]
|
||||
struct CompileArgs {
|
||||
#[pyarg(positional)]
|
||||
#[pyarg(any)]
|
||||
source: Either<PyStrRef, PyBytesRef>,
|
||||
#[pyarg(positional)]
|
||||
#[pyarg(any)]
|
||||
filename: PyStrRef,
|
||||
#[pyarg(positional)]
|
||||
#[pyarg(any)]
|
||||
mode: PyStrRef,
|
||||
#[pyarg(any, optional)]
|
||||
flags: OptionalArg<PyIntRef>,
|
||||
|
||||
Reference in New Issue
Block a user