mirror of
https://github.com/RustPython/RustPython.git
synced 2026-10-28 18:59:04 +08:00
1 parent
8b31efb862
commit
a41fa97bfc
1 file changed
+3
-3
@@ -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