mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-17 22:08:28 +00:00
Remove unsupported type_comment
field
<!-- Thank you for contributing to Ruff! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? - Does this pull request include references to any relevant issues? --> ## Summary This PR removes the `type_comment` field which our parser doesn't support. <!-- What's the purpose of the change? What does it do, and why? --> ## Test Plan `cargo test` <!-- How was it tested? -->
This commit is contained in:
parent
4ad5903ef6
commit
7c7231db2e
54 changed files with 31 additions and 322 deletions
|
@ -57,7 +57,6 @@ fn assignment(obj: &Expr, name: &str, value: &Expr, generator: Generator) -> Str
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
})],
|
})],
|
||||||
value: Box::new(value.clone()),
|
value: Box::new(value.clone()),
|
||||||
type_comment: None,
|
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
});
|
});
|
||||||
generator.stmt(&stmt)
|
generator.stmt(&stmt)
|
||||||
|
|
|
@ -286,7 +286,6 @@ fn generate_fix(
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
})],
|
})],
|
||||||
value: Box::new(exc_arg.clone()),
|
value: Box::new(exc_arg.clone()),
|
||||||
type_comment: None,
|
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -566,7 +566,6 @@ fn ternary(target_var: &Expr, body_value: &Expr, test: &Expr, orelse_value: &Exp
|
||||||
let node1 = ast::StmtAssign {
|
let node1 = ast::StmtAssign {
|
||||||
targets: vec![target_var.clone()],
|
targets: vec![target_var.clone()],
|
||||||
value: Box::new(node.into()),
|
value: Box::new(node.into()),
|
||||||
type_comment: None,
|
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
};
|
};
|
||||||
node1.into()
|
node1.into()
|
||||||
|
@ -957,7 +956,6 @@ pub(crate) fn use_dict_get_with_default(checker: &mut Checker, stmt_if: &StmtIf)
|
||||||
let node5 = ast::StmtAssign {
|
let node5 = ast::StmtAssign {
|
||||||
targets: vec![node4],
|
targets: vec![node4],
|
||||||
value: Box::new(node3.into()),
|
value: Box::new(node3.into()),
|
||||||
type_comment: None,
|
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
};
|
};
|
||||||
let contents = checker.generator().stmt(&node5.into());
|
let contents = checker.generator().stmt(&node5.into());
|
||||||
|
|
|
@ -229,7 +229,6 @@ fn function(
|
||||||
decorator_list: vec![],
|
decorator_list: vec![],
|
||||||
returns: Some(Box::new(return_type)),
|
returns: Some(Box::new(return_type)),
|
||||||
type_params: vec![],
|
type_params: vec![],
|
||||||
type_comment: None,
|
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
});
|
});
|
||||||
return generator.stmt(&func);
|
return generator.stmt(&func);
|
||||||
|
@ -242,7 +241,6 @@ fn function(
|
||||||
decorator_list: vec![],
|
decorator_list: vec![],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: vec![],
|
type_params: vec![],
|
||||||
type_comment: None,
|
|
||||||
range: TextRange::default(),
|
range: TextRange::default(),
|
||||||
});
|
});
|
||||||
generator.stmt(&func)
|
generator.stmt(&func)
|
||||||
|
|
|
@ -566,24 +566,14 @@ impl<'stmt> BasicBlocksBuilder<'stmt> {
|
||||||
let _ = (body, handlers, orelse, finalbody); // Silence unused code warnings.
|
let _ = (body, handlers, orelse, finalbody); // Silence unused code warnings.
|
||||||
self.unconditional_next_block(after)
|
self.unconditional_next_block(after)
|
||||||
}
|
}
|
||||||
Stmt::With(StmtWith {
|
Stmt::With(StmtWith { items, body, .. })
|
||||||
items,
|
| Stmt::AsyncWith(StmtAsyncWith { items, body, .. }) => {
|
||||||
body,
|
|
||||||
type_comment,
|
|
||||||
..
|
|
||||||
})
|
|
||||||
| Stmt::AsyncWith(StmtAsyncWith {
|
|
||||||
items,
|
|
||||||
body,
|
|
||||||
type_comment,
|
|
||||||
..
|
|
||||||
}) => {
|
|
||||||
// TODO: handle `with` statements, see
|
// TODO: handle `with` statements, see
|
||||||
// <https://docs.python.org/3/reference/compound_stmts.html#the-with-statement>.
|
// <https://docs.python.org/3/reference/compound_stmts.html#the-with-statement>.
|
||||||
// I recommend to `try` statements first as `with` can desugar
|
// I recommend to `try` statements first as `with` can desugar
|
||||||
// to a `try` statement.
|
// to a `try` statement.
|
||||||
// For now we'll skip over it.
|
// For now we'll skip over it.
|
||||||
let _ = (items, body, type_comment); // Silence unused code warnings.
|
let _ = (items, body); // Silence unused code warnings.
|
||||||
self.unconditional_next_block(after)
|
self.unconditional_next_block(after)
|
||||||
}
|
}
|
||||||
Stmt::Match(StmtMatch { subject, cases, .. }) => {
|
Stmt::Match(StmtMatch { subject, cases, .. }) => {
|
||||||
|
|
|
@ -376,7 +376,6 @@ impl<'a> From<&'a Box<ast::Arg>> for ComparableArg<'a> {
|
||||||
pub struct ComparableArg<'a> {
|
pub struct ComparableArg<'a> {
|
||||||
arg: &'a str,
|
arg: &'a str,
|
||||||
annotation: Option<Box<ComparableExpr<'a>>>,
|
annotation: Option<Box<ComparableExpr<'a>>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> From<&'a ast::Arg> for ComparableArg<'a> {
|
impl<'a> From<&'a ast::Arg> for ComparableArg<'a> {
|
||||||
|
@ -384,7 +383,6 @@ impl<'a> From<&'a ast::Arg> for ComparableArg<'a> {
|
||||||
Self {
|
Self {
|
||||||
arg: arg.arg.as_str(),
|
arg: arg.arg.as_str(),
|
||||||
annotation: arg.annotation.as_ref().map(Into::into),
|
annotation: arg.annotation.as_ref().map(Into::into),
|
||||||
type_comment: arg.type_comment.as_deref(),
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -955,7 +953,6 @@ pub struct StmtFunctionDef<'a> {
|
||||||
decorator_list: Vec<ComparableDecorator<'a>>,
|
decorator_list: Vec<ComparableDecorator<'a>>,
|
||||||
type_params: Vec<ComparableTypeParam<'a>>,
|
type_params: Vec<ComparableTypeParam<'a>>,
|
||||||
returns: Option<ComparableExpr<'a>>,
|
returns: Option<ComparableExpr<'a>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
|
@ -966,7 +963,6 @@ pub struct StmtAsyncFunctionDef<'a> {
|
||||||
decorator_list: Vec<ComparableDecorator<'a>>,
|
decorator_list: Vec<ComparableDecorator<'a>>,
|
||||||
type_params: Vec<ComparableTypeParam<'a>>,
|
type_params: Vec<ComparableTypeParam<'a>>,
|
||||||
returns: Option<ComparableExpr<'a>>,
|
returns: Option<ComparableExpr<'a>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
|
@ -1048,7 +1044,6 @@ pub struct TypeParamTypeVarTuple<'a> {
|
||||||
pub struct StmtAssign<'a> {
|
pub struct StmtAssign<'a> {
|
||||||
targets: Vec<ComparableExpr<'a>>,
|
targets: Vec<ComparableExpr<'a>>,
|
||||||
value: ComparableExpr<'a>,
|
value: ComparableExpr<'a>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
|
@ -1072,7 +1067,6 @@ pub struct StmtFor<'a> {
|
||||||
iter: ComparableExpr<'a>,
|
iter: ComparableExpr<'a>,
|
||||||
body: Vec<ComparableStmt<'a>>,
|
body: Vec<ComparableStmt<'a>>,
|
||||||
orelse: Vec<ComparableStmt<'a>>,
|
orelse: Vec<ComparableStmt<'a>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
|
@ -1081,7 +1075,6 @@ pub struct StmtAsyncFor<'a> {
|
||||||
iter: ComparableExpr<'a>,
|
iter: ComparableExpr<'a>,
|
||||||
body: Vec<ComparableStmt<'a>>,
|
body: Vec<ComparableStmt<'a>>,
|
||||||
orelse: Vec<ComparableStmt<'a>>,
|
orelse: Vec<ComparableStmt<'a>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
|
@ -1102,14 +1095,12 @@ pub struct StmtIf<'a> {
|
||||||
pub struct StmtWith<'a> {
|
pub struct StmtWith<'a> {
|
||||||
items: Vec<ComparableWithItem<'a>>,
|
items: Vec<ComparableWithItem<'a>>,
|
||||||
body: Vec<ComparableStmt<'a>>,
|
body: Vec<ComparableStmt<'a>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
pub struct StmtAsyncWith<'a> {
|
pub struct StmtAsyncWith<'a> {
|
||||||
items: Vec<ComparableWithItem<'a>>,
|
items: Vec<ComparableWithItem<'a>>,
|
||||||
body: Vec<ComparableStmt<'a>>,
|
body: Vec<ComparableStmt<'a>>,
|
||||||
type_comment: Option<&'a str>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Eq, Hash)]
|
#[derive(Debug, PartialEq, Eq, Hash)]
|
||||||
|
@ -1221,7 +1212,6 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
body,
|
body,
|
||||||
decorator_list,
|
decorator_list,
|
||||||
returns,
|
returns,
|
||||||
type_comment,
|
|
||||||
type_params,
|
type_params,
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::FunctionDef(StmtFunctionDef {
|
}) => Self::FunctionDef(StmtFunctionDef {
|
||||||
|
@ -1230,7 +1220,6 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
body: body.iter().map(Into::into).collect(),
|
body: body.iter().map(Into::into).collect(),
|
||||||
decorator_list: decorator_list.iter().map(Into::into).collect(),
|
decorator_list: decorator_list.iter().map(Into::into).collect(),
|
||||||
returns: returns.as_ref().map(Into::into),
|
returns: returns.as_ref().map(Into::into),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
type_params: type_params.iter().map(Into::into).collect(),
|
type_params: type_params.iter().map(Into::into).collect(),
|
||||||
}),
|
}),
|
||||||
ast::Stmt::AsyncFunctionDef(ast::StmtAsyncFunctionDef {
|
ast::Stmt::AsyncFunctionDef(ast::StmtAsyncFunctionDef {
|
||||||
|
@ -1239,7 +1228,6 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
body,
|
body,
|
||||||
decorator_list,
|
decorator_list,
|
||||||
returns,
|
returns,
|
||||||
type_comment,
|
|
||||||
type_params,
|
type_params,
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::AsyncFunctionDef(StmtAsyncFunctionDef {
|
}) => Self::AsyncFunctionDef(StmtAsyncFunctionDef {
|
||||||
|
@ -1248,7 +1236,6 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
body: body.iter().map(Into::into).collect(),
|
body: body.iter().map(Into::into).collect(),
|
||||||
decorator_list: decorator_list.iter().map(Into::into).collect(),
|
decorator_list: decorator_list.iter().map(Into::into).collect(),
|
||||||
returns: returns.as_ref().map(Into::into),
|
returns: returns.as_ref().map(Into::into),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
type_params: type_params.iter().map(Into::into).collect(),
|
type_params: type_params.iter().map(Into::into).collect(),
|
||||||
}),
|
}),
|
||||||
ast::Stmt::ClassDef(ast::StmtClassDef {
|
ast::Stmt::ClassDef(ast::StmtClassDef {
|
||||||
|
@ -1292,12 +1279,10 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
ast::Stmt::Assign(ast::StmtAssign {
|
ast::Stmt::Assign(ast::StmtAssign {
|
||||||
targets,
|
targets,
|
||||||
value,
|
value,
|
||||||
type_comment,
|
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::Assign(StmtAssign {
|
}) => Self::Assign(StmtAssign {
|
||||||
targets: targets.iter().map(Into::into).collect(),
|
targets: targets.iter().map(Into::into).collect(),
|
||||||
value: value.into(),
|
value: value.into(),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
}),
|
}),
|
||||||
ast::Stmt::AugAssign(ast::StmtAugAssign {
|
ast::Stmt::AugAssign(ast::StmtAugAssign {
|
||||||
target,
|
target,
|
||||||
|
@ -1326,28 +1311,24 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
iter,
|
iter,
|
||||||
body,
|
body,
|
||||||
orelse,
|
orelse,
|
||||||
type_comment,
|
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::For(StmtFor {
|
}) => Self::For(StmtFor {
|
||||||
target: target.into(),
|
target: target.into(),
|
||||||
iter: iter.into(),
|
iter: iter.into(),
|
||||||
body: body.iter().map(Into::into).collect(),
|
body: body.iter().map(Into::into).collect(),
|
||||||
orelse: orelse.iter().map(Into::into).collect(),
|
orelse: orelse.iter().map(Into::into).collect(),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
}),
|
}),
|
||||||
ast::Stmt::AsyncFor(ast::StmtAsyncFor {
|
ast::Stmt::AsyncFor(ast::StmtAsyncFor {
|
||||||
target,
|
target,
|
||||||
iter,
|
iter,
|
||||||
body,
|
body,
|
||||||
orelse,
|
orelse,
|
||||||
type_comment,
|
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::AsyncFor(StmtAsyncFor {
|
}) => Self::AsyncFor(StmtAsyncFor {
|
||||||
target: target.into(),
|
target: target.into(),
|
||||||
iter: iter.into(),
|
iter: iter.into(),
|
||||||
body: body.iter().map(Into::into).collect(),
|
body: body.iter().map(Into::into).collect(),
|
||||||
orelse: orelse.iter().map(Into::into).collect(),
|
orelse: orelse.iter().map(Into::into).collect(),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
}),
|
}),
|
||||||
ast::Stmt::While(ast::StmtWhile {
|
ast::Stmt::While(ast::StmtWhile {
|
||||||
test,
|
test,
|
||||||
|
@ -1372,22 +1353,18 @@ impl<'a> From<&'a ast::Stmt> for ComparableStmt<'a> {
|
||||||
ast::Stmt::With(ast::StmtWith {
|
ast::Stmt::With(ast::StmtWith {
|
||||||
items,
|
items,
|
||||||
body,
|
body,
|
||||||
type_comment,
|
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::With(StmtWith {
|
}) => Self::With(StmtWith {
|
||||||
items: items.iter().map(Into::into).collect(),
|
items: items.iter().map(Into::into).collect(),
|
||||||
body: body.iter().map(Into::into).collect(),
|
body: body.iter().map(Into::into).collect(),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
}),
|
}),
|
||||||
ast::Stmt::AsyncWith(ast::StmtAsyncWith {
|
ast::Stmt::AsyncWith(ast::StmtAsyncWith {
|
||||||
items,
|
items,
|
||||||
body,
|
body,
|
||||||
type_comment,
|
|
||||||
range: _range,
|
range: _range,
|
||||||
}) => Self::AsyncWith(StmtAsyncWith {
|
}) => Self::AsyncWith(StmtAsyncWith {
|
||||||
items: items.iter().map(Into::into).collect(),
|
items: items.iter().map(Into::into).collect(),
|
||||||
body: body.iter().map(Into::into).collect(),
|
body: body.iter().map(Into::into).collect(),
|
||||||
type_comment: type_comment.as_ref().map(String::as_str),
|
|
||||||
}),
|
}),
|
||||||
ast::Stmt::Match(ast::StmtMatch {
|
ast::Stmt::Match(ast::StmtMatch {
|
||||||
subject,
|
subject,
|
||||||
|
|
|
@ -79,13 +79,6 @@ impl<'a> AnyFunctionDefinition<'a> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn type_comments(self) -> Option<&'a str> {
|
|
||||||
match self {
|
|
||||||
Self::FunctionDefinition(definition) => definition.type_comment.as_deref(),
|
|
||||||
Self::AsyncFunctionDefinition(definition) => definition.type_comment.as_deref(),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/// Returns `true` if this is [`Self::AsyncFunctionDefinition`]
|
/// Returns `true` if this is [`Self::AsyncFunctionDefinition`]
|
||||||
pub const fn is_async(self) -> bool {
|
pub const fn is_async(self) -> bool {
|
||||||
matches!(self, Self::AsyncFunctionDefinition(_))
|
matches!(self, Self::AsyncFunctionDefinition(_))
|
||||||
|
|
|
@ -156,7 +156,6 @@ pub struct StmtFunctionDef {
|
||||||
pub decorator_list: Vec<Decorator>,
|
pub decorator_list: Vec<Decorator>,
|
||||||
pub returns: Option<Box<Expr>>,
|
pub returns: Option<Box<Expr>>,
|
||||||
pub type_params: Vec<TypeParam>,
|
pub type_params: Vec<TypeParam>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtFunctionDef> for Stmt {
|
impl From<StmtFunctionDef> for Stmt {
|
||||||
|
@ -175,7 +174,6 @@ pub struct StmtAsyncFunctionDef {
|
||||||
pub decorator_list: Vec<Decorator>,
|
pub decorator_list: Vec<Decorator>,
|
||||||
pub returns: Option<Box<Expr>>,
|
pub returns: Option<Box<Expr>>,
|
||||||
pub type_params: Vec<TypeParam>,
|
pub type_params: Vec<TypeParam>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtAsyncFunctionDef> for Stmt {
|
impl From<StmtAsyncFunctionDef> for Stmt {
|
||||||
|
@ -249,7 +247,6 @@ pub struct StmtAssign {
|
||||||
pub range: TextRange,
|
pub range: TextRange,
|
||||||
pub targets: Vec<Expr>,
|
pub targets: Vec<Expr>,
|
||||||
pub value: Box<Expr>,
|
pub value: Box<Expr>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtAssign> for Stmt {
|
impl From<StmtAssign> for Stmt {
|
||||||
|
@ -297,7 +294,6 @@ pub struct StmtFor {
|
||||||
pub iter: Box<Expr>,
|
pub iter: Box<Expr>,
|
||||||
pub body: Vec<Stmt>,
|
pub body: Vec<Stmt>,
|
||||||
pub orelse: Vec<Stmt>,
|
pub orelse: Vec<Stmt>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtFor> for Stmt {
|
impl From<StmtFor> for Stmt {
|
||||||
|
@ -314,7 +310,6 @@ pub struct StmtAsyncFor {
|
||||||
pub iter: Box<Expr>,
|
pub iter: Box<Expr>,
|
||||||
pub body: Vec<Stmt>,
|
pub body: Vec<Stmt>,
|
||||||
pub orelse: Vec<Stmt>,
|
pub orelse: Vec<Stmt>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtAsyncFor> for Stmt {
|
impl From<StmtAsyncFor> for Stmt {
|
||||||
|
@ -366,7 +361,6 @@ pub struct StmtWith {
|
||||||
pub range: TextRange,
|
pub range: TextRange,
|
||||||
pub items: Vec<WithItem>,
|
pub items: Vec<WithItem>,
|
||||||
pub body: Vec<Stmt>,
|
pub body: Vec<Stmt>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtWith> for Stmt {
|
impl From<StmtWith> for Stmt {
|
||||||
|
@ -381,7 +375,6 @@ pub struct StmtAsyncWith {
|
||||||
pub range: TextRange,
|
pub range: TextRange,
|
||||||
pub items: Vec<WithItem>,
|
pub items: Vec<WithItem>,
|
||||||
pub body: Vec<Stmt>,
|
pub body: Vec<Stmt>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<StmtAsyncWith> for Stmt {
|
impl From<StmtAsyncWith> for Stmt {
|
||||||
|
@ -1877,7 +1870,6 @@ pub struct Arg {
|
||||||
pub range: TextRange,
|
pub range: TextRange,
|
||||||
pub arg: Identifier,
|
pub arg: Identifier,
|
||||||
pub annotation: Option<Box<Expr>>,
|
pub annotation: Option<Box<Expr>>,
|
||||||
pub type_comment: Option<String>,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// See also [keyword](https://docs.python.org/3/library/ast.html#ast.keyword)
|
/// See also [keyword](https://docs.python.org/3/library/ast.html#ast.keyword)
|
||||||
|
@ -3019,6 +3011,9 @@ mod size_assertions {
|
||||||
use static_assertions::assert_eq_size;
|
use static_assertions::assert_eq_size;
|
||||||
|
|
||||||
assert_eq_size!(Stmt, [u8; 168]);
|
assert_eq_size!(Stmt, [u8; 168]);
|
||||||
|
assert_eq_size!(StmtFunctionDef, [u8; 128]);
|
||||||
|
assert_eq_size!(StmtClassDef, [u8; 160]);
|
||||||
|
assert_eq_size!(StmtTry, [u8; 104]);
|
||||||
assert_eq_size!(Expr, [u8; 80]);
|
assert_eq_size!(Expr, [u8; 80]);
|
||||||
assert_eq_size!(Constant, [u8; 32]);
|
assert_eq_size!(Constant, [u8; 32]);
|
||||||
assert_eq_size!(Pattern, [u8; 96]);
|
assert_eq_size!(Pattern, [u8; 96]);
|
||||||
|
|
|
@ -239,7 +239,6 @@ where
|
||||||
targets,
|
targets,
|
||||||
value,
|
value,
|
||||||
range: _,
|
range: _,
|
||||||
type_comment: _,
|
|
||||||
}) => {
|
}) => {
|
||||||
for expr in targets {
|
for expr in targets {
|
||||||
visitor.visit_expr(expr);
|
visitor.visit_expr(expr);
|
||||||
|
@ -320,13 +319,11 @@ where
|
||||||
Stmt::With(ast::StmtWith {
|
Stmt::With(ast::StmtWith {
|
||||||
items,
|
items,
|
||||||
body,
|
body,
|
||||||
type_comment: _,
|
|
||||||
range: _,
|
range: _,
|
||||||
})
|
})
|
||||||
| Stmt::AsyncWith(ast::StmtAsyncWith {
|
| Stmt::AsyncWith(ast::StmtAsyncWith {
|
||||||
items,
|
items,
|
||||||
body,
|
body,
|
||||||
type_comment: _,
|
|
||||||
range: _,
|
range: _,
|
||||||
}) => {
|
}) => {
|
||||||
for with_item in items {
|
for with_item in items {
|
||||||
|
|
|
@ -12,7 +12,6 @@ impl FormatNodeRule<Arg> for FormatArg {
|
||||||
range: _,
|
range: _,
|
||||||
arg,
|
arg,
|
||||||
annotation,
|
annotation,
|
||||||
type_comment: _,
|
|
||||||
} = item;
|
} = item;
|
||||||
|
|
||||||
arg.format().fmt(f)?;
|
arg.format().fmt(f)?;
|
||||||
|
|
|
@ -17,7 +17,6 @@ impl FormatNodeRule<StmtAssign> for FormatStmtAssign {
|
||||||
range: _,
|
range: _,
|
||||||
targets,
|
targets,
|
||||||
value,
|
value,
|
||||||
type_comment: _,
|
|
||||||
} = item;
|
} = item;
|
||||||
|
|
||||||
let (first, rest) = targets.split_first().ok_or(FormatError::syntax_error(
|
let (first, rest) = targets.split_first().ok_or(FormatError::syntax_error(
|
||||||
|
|
|
@ -124,7 +124,7 @@ ExpressionStatement: ast::Stmt = {
|
||||||
}
|
}
|
||||||
|
|
||||||
ast::Stmt::Assign(
|
ast::Stmt::Assign(
|
||||||
ast::StmtAssign { targets, value, type_comment: None, range: (location..end_location).into() }
|
ast::StmtAssign { targets, value, range: (location..end_location).into() }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -859,11 +859,10 @@ ForStatement: ast::Stmt = {
|
||||||
.end();
|
.end();
|
||||||
let target = Box::new(set_context(target, ast::ExprContext::Store));
|
let target = Box::new(set_context(target, ast::ExprContext::Store));
|
||||||
let iter = Box::new(iter);
|
let iter = Box::new(iter);
|
||||||
let type_comment = None;
|
|
||||||
if is_async.is_some() {
|
if is_async.is_some() {
|
||||||
ast::Stmt::AsyncFor(ast::StmtAsyncFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() })
|
ast::Stmt::AsyncFor(ast::StmtAsyncFor { target, iter, body, orelse, range: (location..end_location).into() })
|
||||||
} else {
|
} else {
|
||||||
ast::Stmt::For(ast::StmtFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() })
|
ast::Stmt::For(ast::StmtFor { target, iter, body, orelse, range: (location..end_location).into() })
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -977,11 +976,10 @@ ExceptClause: ast::ExceptHandler = {
|
||||||
WithStatement: ast::Stmt = {
|
WithStatement: ast::Stmt = {
|
||||||
<location:@L> <is_async:"async"?> "with" <items:WithItems> ":" <body:Suite> => {
|
<location:@L> <is_async:"async"?> "with" <items:WithItems> ":" <body:Suite> => {
|
||||||
let end_location = body.last().unwrap().end();
|
let end_location = body.last().unwrap().end();
|
||||||
let type_comment = None;
|
|
||||||
if is_async.is_some() {
|
if is_async.is_some() {
|
||||||
ast::StmtAsyncWith { items, body, type_comment, range: (location..end_location).into() }.into()
|
ast::StmtAsyncWith { items, body, range: (location..end_location).into() }.into()
|
||||||
} else {
|
} else {
|
||||||
ast::StmtWith { items, body, type_comment, range: (location..end_location).into() }.into()
|
ast::StmtWith { items, body, range: (location..end_location).into() }.into()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1017,11 +1015,10 @@ FuncDef: ast::Stmt = {
|
||||||
let args = Box::new(args);
|
let args = Box::new(args);
|
||||||
let returns = r.map(Box::new);
|
let returns = r.map(Box::new);
|
||||||
let end_location = body.last().unwrap().end();
|
let end_location = body.last().unwrap().end();
|
||||||
let type_comment = None;
|
|
||||||
if is_async.is_some() {
|
if is_async.is_some() {
|
||||||
ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
||||||
} else {
|
} else {
|
||||||
ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_comment, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1142,18 +1139,18 @@ ParameterDef<ArgType>: ast::ArgWithDefault = {
|
||||||
|
|
||||||
UntypedParameter: ast::ArgWithDefault = {
|
UntypedParameter: ast::ArgWithDefault = {
|
||||||
<location:@L> <arg:Identifier> <end_location:@R> => {
|
<location:@L> <arg:Identifier> <end_location:@R> => {
|
||||||
let def = ast::Arg { arg, annotation: None, type_comment: None, range: (location..end_location).into() };
|
let def = ast::Arg { arg, annotation: None, range: (location..end_location).into() };
|
||||||
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
StarUntypedParameter: ast::Arg = {
|
StarUntypedParameter: ast::Arg = {
|
||||||
<location:@L> <arg:Identifier> <end_location:@R> => ast::Arg { arg, annotation: None, type_comment: None, range: (location..end_location).into() },
|
<location:@L> <arg:Identifier> <end_location:@R> => ast::Arg { arg, annotation: None, range: (location..end_location).into() },
|
||||||
};
|
};
|
||||||
|
|
||||||
TypedParameter: ast::ArgWithDefault = {
|
TypedParameter: ast::ArgWithDefault = {
|
||||||
<location:@L> <arg:Identifier> <a:(":" <Test<"all">>)?> <end_location:@R> => {
|
<location:@L> <arg:Identifier> <a:(":" <Test<"all">>)?> <end_location:@R> => {
|
||||||
let annotation = a.map(Box::new);
|
let annotation = a.map(Box::new);
|
||||||
let def = ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() };
|
let def = ast::Arg { arg, annotation, range: (location..end_location).into() };
|
||||||
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1161,14 +1158,14 @@ TypedParameter: ast::ArgWithDefault = {
|
||||||
StarTypedParameter: ast::Arg = {
|
StarTypedParameter: ast::Arg = {
|
||||||
<location:@L> <arg:Identifier> <a:(":" <TestOrStarExpr>)?> <end_location:@R> => {
|
<location:@L> <arg:Identifier> <a:(":" <TestOrStarExpr>)?> <end_location:@R> => {
|
||||||
let annotation = a.map(Box::new);
|
let annotation = a.map(Box::new);
|
||||||
ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() }
|
ast::Arg { arg, annotation, range: (location..end_location).into() }
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
DoubleStarTypedParameter: ast::Arg = {
|
DoubleStarTypedParameter: ast::Arg = {
|
||||||
<location:@L> <arg:Identifier> <a:(":" <Test<"all">>)?> <end_location:@R> => {
|
<location:@L> <arg:Identifier> <a:(":" <Test<"all">>)?> <end_location:@R> => {
|
||||||
let annotation = a.map(Box::new);
|
let annotation = a.map(Box::new);
|
||||||
ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() }
|
ast::Arg { arg, annotation, range: (location..end_location).into() }
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// auto-generated: "lalrpop 0.20.0"
|
// auto-generated: "lalrpop 0.20.0"
|
||||||
// sha3: 76f8cd8ac95bef60488dc5962346273abca535cd4aa194edd11cda998a4b211e
|
// sha3: 7e5118fcea23da57b78e42a0fed09f9d25e7a69899989bcf3ed7fe2b0565feb4
|
||||||
use num_bigint::BigInt;
|
use num_bigint::BigInt;
|
||||||
use ruff_text_size::TextSize;
|
use ruff_text_size::TextSize;
|
||||||
use ruff_python_ast::{self as ast, Ranged, MagicKind};
|
use ruff_python_ast::{self as ast, Ranged, MagicKind};
|
||||||
|
@ -31124,7 +31124,7 @@ fn __action26<
|
||||||
}
|
}
|
||||||
|
|
||||||
ast::Stmt::Assign(
|
ast::Stmt::Assign(
|
||||||
ast::StmtAssign { targets, value, type_comment: None, range: (location..end_location).into() }
|
ast::StmtAssign { targets, value, range: (location..end_location).into() }
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33195,11 +33195,10 @@ fn __action148<
|
||||||
.end();
|
.end();
|
||||||
let target = Box::new(set_context(target, ast::ExprContext::Store));
|
let target = Box::new(set_context(target, ast::ExprContext::Store));
|
||||||
let iter = Box::new(iter);
|
let iter = Box::new(iter);
|
||||||
let type_comment = None;
|
|
||||||
if is_async.is_some() {
|
if is_async.is_some() {
|
||||||
ast::Stmt::AsyncFor(ast::StmtAsyncFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() })
|
ast::Stmt::AsyncFor(ast::StmtAsyncFor { target, iter, body, orelse, range: (location..end_location).into() })
|
||||||
} else {
|
} else {
|
||||||
ast::Stmt::For(ast::StmtFor { target, iter, body, orelse, type_comment, range: (location..end_location).into() })
|
ast::Stmt::For(ast::StmtFor { target, iter, body, orelse, range: (location..end_location).into() })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33421,11 +33420,10 @@ fn __action156<
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let end_location = body.last().unwrap().end();
|
let end_location = body.last().unwrap().end();
|
||||||
let type_comment = None;
|
|
||||||
if is_async.is_some() {
|
if is_async.is_some() {
|
||||||
ast::StmtAsyncWith { items, body, type_comment, range: (location..end_location).into() }.into()
|
ast::StmtAsyncWith { items, body, range: (location..end_location).into() }.into()
|
||||||
} else {
|
} else {
|
||||||
ast::StmtWith { items, body, type_comment, range: (location..end_location).into() }.into()
|
ast::StmtWith { items, body, range: (location..end_location).into() }.into()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33523,11 +33521,10 @@ fn __action162<
|
||||||
let args = Box::new(args);
|
let args = Box::new(args);
|
||||||
let returns = r.map(Box::new);
|
let returns = r.map(Box::new);
|
||||||
let end_location = body.last().unwrap().end();
|
let end_location = body.last().unwrap().end();
|
||||||
let type_comment = None;
|
|
||||||
if is_async.is_some() {
|
if is_async.is_some() {
|
||||||
ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_comment, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
ast::StmtAsyncFunctionDef { name, args, body, decorator_list, returns, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
||||||
} else {
|
} else {
|
||||||
ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_comment, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
ast::StmtFunctionDef { name, args, body, decorator_list, returns, type_params: type_params.unwrap_or_default(), range: (location..end_location).into() }.into()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33610,7 +33607,7 @@ fn __action166<
|
||||||
) -> ast::ArgWithDefault
|
) -> ast::ArgWithDefault
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let def = ast::Arg { arg, annotation: None, type_comment: None, range: (location..end_location).into() };
|
let def = ast::Arg { arg, annotation: None, range: (location..end_location).into() };
|
||||||
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33625,7 +33622,7 @@ fn __action167<
|
||||||
(_, end_location, _): (TextSize, TextSize, TextSize),
|
(_, end_location, _): (TextSize, TextSize, TextSize),
|
||||||
) -> ast::Arg
|
) -> ast::Arg
|
||||||
{
|
{
|
||||||
ast::Arg { arg, annotation: None, type_comment: None, range: (location..end_location).into() }
|
ast::Arg { arg, annotation: None, range: (location..end_location).into() }
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(unused_variables)]
|
#[allow(unused_variables)]
|
||||||
|
@ -33641,7 +33638,7 @@ fn __action168<
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let annotation = a.map(Box::new);
|
let annotation = a.map(Box::new);
|
||||||
let def = ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() };
|
let def = ast::Arg { arg, annotation, range: (location..end_location).into() };
|
||||||
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
ast::ArgWithDefault { def, default: None, range: (location..end_location).into() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -33659,7 +33656,7 @@ fn __action169<
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let annotation = a.map(Box::new);
|
let annotation = a.map(Box::new);
|
||||||
ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() }
|
ast::Arg { arg, annotation, range: (location..end_location).into() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33676,7 +33673,7 @@ fn __action170<
|
||||||
{
|
{
|
||||||
{
|
{
|
||||||
let annotation = a.map(Box::new);
|
let annotation = a.map(Box::new);
|
||||||
ast::Arg { arg, annotation, type_comment: None, range: (location..end_location).into() }
|
ast::Arg { arg, annotation, range: (location..end_location).into() }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -56,7 +56,6 @@ expression: parse_ast
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
orelse: [],
|
orelse: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -65,7 +65,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -76,7 +76,6 @@ expression: parse_ast
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -50,7 +50,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -76,7 +76,6 @@ expression: parse_ast
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -71,7 +71,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -63,7 +63,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -65,7 +65,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -36,7 +36,6 @@ expression: parse_ast
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -26,7 +26,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -39,7 +38,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -52,7 +50,6 @@ Ok(
|
||||||
range: 15..16,
|
range: 15..16,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -69,7 +66,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -26,7 +26,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -39,7 +38,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -62,7 +60,6 @@ Ok(
|
||||||
range: 18..19,
|
range: 18..19,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -89,7 +86,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -29,7 +29,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -29,7 +29,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -50,7 +48,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -66,7 +63,6 @@ Ok(
|
||||||
range: 18..19,
|
range: 18..19,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -79,7 +75,6 @@ Ok(
|
||||||
range: 21..22,
|
range: 21..22,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -92,7 +87,6 @@ Ok(
|
||||||
range: 24..25,
|
range: 24..25,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -109,7 +103,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -50,7 +48,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -66,7 +63,6 @@ Ok(
|
||||||
range: 18..19,
|
range: 18..19,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -79,7 +75,6 @@ Ok(
|
||||||
range: 21..22,
|
range: 21..22,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -102,7 +97,6 @@ Ok(
|
||||||
range: 27..28,
|
range: 27..28,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -129,7 +123,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -50,7 +48,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -63,7 +60,6 @@ Ok(
|
||||||
range: 16..20,
|
range: 16..20,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
kwonlyargs: [
|
kwonlyargs: [
|
||||||
|
@ -76,7 +72,6 @@ Ok(
|
||||||
range: 22..23,
|
range: 22..23,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -89,7 +84,6 @@ Ok(
|
||||||
range: 25..26,
|
range: 25..26,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -112,7 +106,6 @@ Ok(
|
||||||
range: 31..32,
|
range: 31..32,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -139,7 +132,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -50,7 +48,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -63,7 +60,6 @@ Ok(
|
||||||
range: 16..20,
|
range: 16..20,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
kwonlyargs: [
|
kwonlyargs: [
|
||||||
|
@ -76,7 +72,6 @@ Ok(
|
||||||
range: 22..23,
|
range: 22..23,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -89,7 +84,6 @@ Ok(
|
||||||
range: 25..26,
|
range: 25..26,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -112,7 +106,6 @@ Ok(
|
||||||
range: 31..32,
|
range: 31..32,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -135,7 +128,6 @@ Ok(
|
||||||
range: 39..45,
|
range: 39..45,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
@ -149,7 +141,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -50,7 +48,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -69,7 +66,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -60,7 +58,6 @@ Ok(
|
||||||
range: 15..16,
|
range: 15..16,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -89,7 +86,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
||||||
range: 6..7,
|
range: 6..7,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -37,7 +36,6 @@ Ok(
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -50,7 +48,6 @@ Ok(
|
||||||
range: 12..13,
|
range: 12..13,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -69,7 +66,6 @@ Ok(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -25,7 +25,6 @@ Ok(
|
||||||
range: 10..11,
|
range: 10..11,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -38,7 +37,6 @@ Ok(
|
||||||
range: 13..14,
|
range: 13..14,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -51,7 +49,6 @@ Ok(
|
||||||
range: 16..17,
|
range: 16..17,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
|
|
@ -25,7 +25,6 @@ Ok(
|
||||||
range: 10..11,
|
range: 10..11,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -38,7 +37,6 @@ Ok(
|
||||||
range: 13..14,
|
range: 13..14,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -61,7 +59,6 @@ Ok(
|
||||||
range: 19..20,
|
range: 19..20,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
|
|
@ -23,7 +23,6 @@ Ok(
|
||||||
range: 7..8,
|
range: 7..8,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -36,7 +35,6 @@ Ok(
|
||||||
range: 10..11,
|
range: 10..11,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -49,7 +47,6 @@ Ok(
|
||||||
range: 13..14,
|
range: 13..14,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -65,7 +62,6 @@ Ok(
|
||||||
range: 19..20,
|
range: 19..20,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -78,7 +74,6 @@ Ok(
|
||||||
range: 22..23,
|
range: 22..23,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,6 @@ Ok(
|
||||||
range: 7..8,
|
range: 7..8,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -36,7 +35,6 @@ Ok(
|
||||||
range: 10..11,
|
range: 10..11,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -49,7 +47,6 @@ Ok(
|
||||||
range: 13..14,
|
range: 13..14,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
|
|
@ -23,7 +23,6 @@ Ok(
|
||||||
range: 7..8,
|
range: 7..8,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -36,7 +35,6 @@ Ok(
|
||||||
range: 10..11,
|
range: 10..11,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -59,7 +57,6 @@ Ok(
|
||||||
range: 16..17,
|
range: 16..17,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
|
|
@ -39,7 +39,6 @@ expression: parse_ast
|
||||||
],
|
],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
ClassDef(
|
ClassDef(
|
||||||
|
|
|
@ -173,7 +173,6 @@ Module(
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
LineMagic(
|
LineMagic(
|
||||||
|
@ -241,7 +240,6 @@ Module(
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
orelse: [],
|
orelse: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -263,7 +261,6 @@ Module(
|
||||||
value: "pwd",
|
value: "pwd",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
AnnAssign(
|
AnnAssign(
|
||||||
|
@ -314,7 +311,6 @@ Module(
|
||||||
value: "foo bar",
|
value: "foo bar",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
LineMagic(
|
LineMagic(
|
||||||
|
@ -343,7 +339,6 @@ Module(
|
||||||
value: "foo # comment",
|
value: "foo # comment",
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -285,7 +285,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -364,7 +363,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -429,7 +427,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -722,7 +722,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
range: 598..603,
|
range: 598..603,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -757,7 +756,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Expr(
|
Expr(
|
||||||
|
|
|
@ -24,7 +24,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -48,7 +47,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -72,7 +70,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -96,7 +93,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -120,7 +116,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -144,7 +139,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -168,7 +162,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -192,7 +185,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -216,7 +208,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -240,7 +231,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -265,7 +255,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -290,7 +279,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -314,7 +302,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -338,7 +325,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -362,7 +348,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -386,7 +371,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -410,7 +394,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -434,7 +417,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -41,7 +41,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -75,7 +74,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -109,7 +107,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -143,7 +140,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -184,7 +180,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -218,7 +213,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -259,7 +253,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -294,7 +287,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -363,7 +355,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -404,7 +395,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -445,7 +435,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -479,7 +468,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -520,7 +508,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -551,7 +538,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
If(
|
If(
|
||||||
|
@ -627,7 +613,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -666,7 +651,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -48,7 +48,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
range: 31..35,
|
range: 31..35,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -67,7 +66,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -90,7 +88,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
range: 70..74,
|
range: 70..74,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -103,7 +100,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
range: 76..79,
|
range: 76..79,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: Some(
|
default: Some(
|
||||||
Constant(
|
Constant(
|
||||||
|
@ -132,7 +128,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -23,7 +23,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
range: 9..10,
|
range: 9..10,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -49,7 +48,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
decorator_list: [],
|
decorator_list: [],
|
||||||
returns: None,
|
returns: None,
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -80,7 +78,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -125,7 +122,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -156,7 +152,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -209,7 +204,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -240,7 +234,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -308,7 +301,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -344,7 +336,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
kwonlyargs: [],
|
kwonlyargs: [],
|
||||||
|
@ -377,7 +368,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -417,7 +407,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
kwonlyargs: [],
|
kwonlyargs: [],
|
||||||
|
@ -447,7 +436,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
@ -478,7 +466,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
FunctionDef(
|
FunctionDef(
|
||||||
|
@ -553,7 +540,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -22,7 +22,6 @@ expression: parse_ast
|
||||||
range: 7..8,
|
range: 7..8,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -35,7 +34,6 @@ expression: parse_ast
|
||||||
range: 10..11,
|
range: 10..11,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
|
|
@ -56,7 +56,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -60,7 +60,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -132,7 +131,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -200,7 +198,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -254,7 +251,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -363,7 +359,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -484,7 +479,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -669,7 +663,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -905,7 +898,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -941,7 +933,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1015,7 +1006,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1080,7 +1070,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1189,7 +1178,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1255,7 +1243,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1332,7 +1319,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1395,7 +1381,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1438,7 +1423,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1502,7 +1486,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1560,7 +1543,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1604,7 +1586,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1677,7 +1658,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1809,7 +1789,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1874,7 +1853,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -1983,7 +1961,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2048,7 +2025,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2129,7 +2105,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2209,7 +2184,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2280,7 +2254,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2366,7 +2339,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2416,7 +2388,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2474,7 +2445,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2526,7 +2496,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2576,7 +2545,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2627,7 +2595,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2671,7 +2638,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2727,7 +2693,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2813,7 +2778,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -2985,7 +2949,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3091,7 +3054,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3327,7 +3289,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3363,7 +3324,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3467,7 +3427,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3571,7 +3530,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3634,7 +3592,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3724,7 +3681,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
@ -3812,7 +3768,6 @@ expression: parse_ast
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|
|
@ -73,7 +73,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -146,7 +145,6 @@ expression: parse_ast
|
||||||
ctx: Load,
|
ctx: Load,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Expr(
|
Expr(
|
||||||
|
|
|
@ -658,7 +658,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
range: 514..519,
|
range: 514..519,
|
||||||
},
|
},
|
||||||
annotation: None,
|
annotation: None,
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
default: None,
|
default: None,
|
||||||
},
|
},
|
||||||
|
@ -693,7 +692,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Expr(
|
Expr(
|
||||||
|
@ -803,7 +801,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -840,7 +837,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
keywords: [],
|
keywords: [],
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Expr(
|
Expr(
|
||||||
|
@ -900,7 +896,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -931,7 +926,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
Assign(
|
Assign(
|
||||||
|
@ -962,7 +956,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
kind: None,
|
kind: None,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -36,7 +36,6 @@ expression: parse_ast
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
kwonlyargs: [],
|
kwonlyargs: [],
|
||||||
|
@ -86,7 +85,6 @@ expression: parse_ast
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
type_params: [],
|
type_params: [],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
|
@ -28,7 +28,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -64,7 +63,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -105,7 +103,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -162,7 +159,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -213,7 +209,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -272,7 +267,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -298,7 +292,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -332,7 +325,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -360,7 +352,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -396,7 +387,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -424,7 +414,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -468,7 +457,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -509,7 +497,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -562,7 +549,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -602,7 +588,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -650,7 +635,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -699,7 +683,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -756,7 +739,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -796,7 +778,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -844,7 +825,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -913,7 +893,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -990,7 +969,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -1026,7 +1004,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -1062,7 +1039,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -1119,7 +1095,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
With(
|
With(
|
||||||
|
@ -1176,7 +1151,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
type_comment: None,
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue