mirror of
https://github.com/astral-sh/ruff.git
synced 2025-07-16 09:35:17 +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
|
@ -124,7 +124,7 @@ ExpressionStatement: ast::Stmt = {
|
|||
}
|
||||
|
||||
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();
|
||||
let target = Box::new(set_context(target, ast::ExprContext::Store));
|
||||
let iter = Box::new(iter);
|
||||
let type_comment = None;
|
||||
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 {
|
||||
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 = {
|
||||
<location:@L> <is_async:"async"?> "with" <items:WithItems> ":" <body:Suite> => {
|
||||
let end_location = body.last().unwrap().end();
|
||||
let type_comment = None;
|
||||
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 {
|
||||
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 returns = r.map(Box::new);
|
||||
let end_location = body.last().unwrap().end();
|
||||
let type_comment = None;
|
||||
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 {
|
||||
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 = {
|
||||
<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() }
|
||||
},
|
||||
};
|
||||
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 = {
|
||||
<location:@L> <arg:Identifier> <a:(":" <Test<"all">>)?> <end_location:@R> => {
|
||||
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() }
|
||||
},
|
||||
};
|
||||
|
@ -1161,14 +1158,14 @@ TypedParameter: ast::ArgWithDefault = {
|
|||
StarTypedParameter: ast::Arg = {
|
||||
<location:@L> <arg:Identifier> <a:(":" <TestOrStarExpr>)?> <end_location:@R> => {
|
||||
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 = {
|
||||
<location:@L> <arg:Identifier> <a:(":" <Test<"all">>)?> <end_location:@R> => {
|
||||
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"
|
||||
// sha3: 76f8cd8ac95bef60488dc5962346273abca535cd4aa194edd11cda998a4b211e
|
||||
// sha3: 7e5118fcea23da57b78e42a0fed09f9d25e7a69899989bcf3ed7fe2b0565feb4
|
||||
use num_bigint::BigInt;
|
||||
use ruff_text_size::TextSize;
|
||||
use ruff_python_ast::{self as ast, Ranged, MagicKind};
|
||||
|
@ -31124,7 +31124,7 @@ fn __action26<
|
|||
}
|
||||
|
||||
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();
|
||||
let target = Box::new(set_context(target, ast::ExprContext::Store));
|
||||
let iter = Box::new(iter);
|
||||
let type_comment = None;
|
||||
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 {
|
||||
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 type_comment = None;
|
||||
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 {
|
||||
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 returns = r.map(Box::new);
|
||||
let end_location = body.last().unwrap().end();
|
||||
let type_comment = None;
|
||||
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 {
|
||||
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
|
||||
{
|
||||
{
|
||||
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() }
|
||||
}
|
||||
}
|
||||
|
@ -33625,7 +33622,7 @@ fn __action167<
|
|||
(_, end_location, _): (TextSize, TextSize, TextSize),
|
||||
) -> 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)]
|
||||
|
@ -33641,7 +33638,7 @@ fn __action168<
|
|||
{
|
||||
{
|
||||
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() }
|
||||
}
|
||||
}
|
||||
|
@ -33659,7 +33656,7 @@ fn __action169<
|
|||
{
|
||||
{
|
||||
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);
|
||||
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,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -56,7 +56,6 @@ expression: parse_ast
|
|||
),
|
||||
],
|
||||
orelse: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -65,7 +65,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -76,7 +76,6 @@ expression: parse_ast
|
|||
],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -50,7 +50,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -76,7 +76,6 @@ expression: parse_ast
|
|||
],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -71,7 +71,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -63,7 +63,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -65,7 +65,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -36,7 +36,6 @@ expression: parse_ast
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -26,7 +26,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -39,7 +38,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -52,7 +50,6 @@ Ok(
|
|||
range: 15..16,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -69,7 +66,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -26,7 +26,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -39,7 +38,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -62,7 +60,6 @@ Ok(
|
|||
range: 18..19,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -89,7 +86,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -29,7 +29,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -29,7 +29,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -50,7 +48,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -66,7 +63,6 @@ Ok(
|
|||
range: 18..19,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -79,7 +75,6 @@ Ok(
|
|||
range: 21..22,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -92,7 +87,6 @@ Ok(
|
|||
range: 24..25,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -109,7 +103,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -50,7 +48,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -66,7 +63,6 @@ Ok(
|
|||
range: 18..19,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -79,7 +75,6 @@ Ok(
|
|||
range: 21..22,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -102,7 +97,6 @@ Ok(
|
|||
range: 27..28,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -129,7 +123,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -50,7 +48,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -63,7 +60,6 @@ Ok(
|
|||
range: 16..20,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
kwonlyargs: [
|
||||
|
@ -76,7 +72,6 @@ Ok(
|
|||
range: 22..23,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -89,7 +84,6 @@ Ok(
|
|||
range: 25..26,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -112,7 +106,6 @@ Ok(
|
|||
range: 31..32,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -139,7 +132,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -50,7 +48,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -63,7 +60,6 @@ Ok(
|
|||
range: 16..20,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
kwonlyargs: [
|
||||
|
@ -76,7 +72,6 @@ Ok(
|
|||
range: 22..23,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -89,7 +84,6 @@ Ok(
|
|||
range: 25..26,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -112,7 +106,6 @@ Ok(
|
|||
range: 31..32,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -135,7 +128,6 @@ Ok(
|
|||
range: 39..45,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
},
|
||||
|
@ -149,7 +141,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -50,7 +48,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -69,7 +66,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -60,7 +58,6 @@ Ok(
|
|||
range: 15..16,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -89,7 +86,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -24,7 +24,6 @@ Ok(
|
|||
range: 6..7,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -37,7 +36,6 @@ Ok(
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -50,7 +48,6 @@ Ok(
|
|||
range: 12..13,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -69,7 +66,6 @@ Ok(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -25,7 +25,6 @@ Ok(
|
|||
range: 10..11,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -38,7 +37,6 @@ Ok(
|
|||
range: 13..14,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -51,7 +49,6 @@ Ok(
|
|||
range: 16..17,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
|
|
@ -25,7 +25,6 @@ Ok(
|
|||
range: 10..11,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -38,7 +37,6 @@ Ok(
|
|||
range: 13..14,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -61,7 +59,6 @@ Ok(
|
|||
range: 19..20,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
|
|
@ -23,7 +23,6 @@ Ok(
|
|||
range: 7..8,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -36,7 +35,6 @@ Ok(
|
|||
range: 10..11,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -49,7 +47,6 @@ Ok(
|
|||
range: 13..14,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -65,7 +62,6 @@ Ok(
|
|||
range: 19..20,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -78,7 +74,6 @@ Ok(
|
|||
range: 22..23,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
|
|
@ -23,7 +23,6 @@ Ok(
|
|||
range: 7..8,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -36,7 +35,6 @@ Ok(
|
|||
range: 10..11,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -49,7 +47,6 @@ Ok(
|
|||
range: 13..14,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
|
|
@ -23,7 +23,6 @@ Ok(
|
|||
range: 7..8,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -36,7 +35,6 @@ Ok(
|
|||
range: 10..11,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -59,7 +57,6 @@ Ok(
|
|||
range: 16..17,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
|
|
@ -39,7 +39,6 @@ expression: parse_ast
|
|||
],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
ClassDef(
|
||||
|
|
|
@ -173,7 +173,6 @@ Module(
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
LineMagic(
|
||||
|
@ -241,7 +240,6 @@ Module(
|
|||
),
|
||||
],
|
||||
orelse: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -263,7 +261,6 @@ Module(
|
|||
value: "pwd",
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
AnnAssign(
|
||||
|
@ -314,7 +311,6 @@ Module(
|
|||
value: "foo bar",
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
LineMagic(
|
||||
|
@ -343,7 +339,6 @@ Module(
|
|||
value: "foo # comment",
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -285,7 +285,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -364,7 +363,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -429,7 +427,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -722,7 +722,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
range: 598..603,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -757,7 +756,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
),
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Expr(
|
||||
|
|
|
@ -24,7 +24,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -48,7 +47,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -72,7 +70,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -96,7 +93,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -120,7 +116,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -144,7 +139,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -168,7 +162,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -192,7 +185,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -216,7 +208,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -240,7 +231,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -265,7 +255,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -290,7 +279,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -314,7 +302,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -338,7 +325,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -362,7 +348,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -386,7 +371,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -410,7 +394,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -434,7 +417,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -41,7 +41,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -75,7 +74,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -109,7 +107,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -143,7 +140,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -184,7 +180,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -218,7 +213,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -259,7 +253,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -294,7 +287,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -363,7 +355,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -404,7 +395,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -445,7 +435,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -479,7 +468,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -520,7 +508,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -551,7 +538,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
),
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
If(
|
||||
|
@ -627,7 +613,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -666,7 +651,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -48,7 +48,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
range: 31..35,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -67,7 +66,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
FunctionDef(
|
||||
|
@ -90,7 +88,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
range: 70..74,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -103,7 +100,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
range: 76..79,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: Some(
|
||||
Constant(
|
||||
|
@ -132,7 +128,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -23,7 +23,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
range: 9..10,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -49,7 +48,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
decorator_list: [],
|
||||
returns: None,
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
FunctionDef(
|
||||
|
@ -80,7 +78,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -125,7 +122,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
FunctionDef(
|
||||
|
@ -156,7 +152,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -209,7 +204,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
FunctionDef(
|
||||
|
@ -240,7 +234,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -308,7 +301,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
FunctionDef(
|
||||
|
@ -344,7 +336,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
kwonlyargs: [],
|
||||
|
@ -377,7 +368,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
FunctionDef(
|
||||
|
@ -417,7 +407,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
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(
|
||||
|
@ -553,7 +540,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -22,7 +22,6 @@ expression: parse_ast
|
|||
range: 7..8,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -35,7 +34,6 @@ expression: parse_ast
|
|||
range: 10..11,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
|
|
@ -56,7 +56,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -60,7 +60,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -132,7 +131,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -200,7 +198,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -254,7 +251,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -363,7 +359,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -484,7 +479,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -669,7 +663,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -905,7 +898,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -941,7 +933,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1015,7 +1006,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1080,7 +1070,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1189,7 +1178,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1255,7 +1243,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1332,7 +1319,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1395,7 +1381,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1438,7 +1423,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1502,7 +1486,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1560,7 +1543,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1604,7 +1586,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1677,7 +1658,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1809,7 +1789,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1874,7 +1853,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -1983,7 +1961,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2048,7 +2025,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2129,7 +2105,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2209,7 +2184,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2280,7 +2254,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2366,7 +2339,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2416,7 +2388,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2474,7 +2445,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2526,7 +2496,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2576,7 +2545,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2627,7 +2595,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2671,7 +2638,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2727,7 +2693,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2813,7 +2778,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -2985,7 +2949,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3091,7 +3054,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3327,7 +3289,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3363,7 +3324,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3467,7 +3427,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3571,7 +3530,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3634,7 +3592,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3724,7 +3681,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
@ -3812,7 +3768,6 @@ expression: parse_ast
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
],
|
||||
|
|
|
@ -73,7 +73,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -146,7 +145,6 @@ expression: parse_ast
|
|||
ctx: Load,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Expr(
|
||||
|
|
|
@ -658,7 +658,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
range: 514..519,
|
||||
},
|
||||
annotation: None,
|
||||
type_comment: None,
|
||||
},
|
||||
default: None,
|
||||
},
|
||||
|
@ -693,7 +692,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
),
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Expr(
|
||||
|
@ -803,7 +801,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -840,7 +837,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
keywords: [],
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Expr(
|
||||
|
@ -900,7 +896,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -931,7 +926,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
Assign(
|
||||
|
@ -962,7 +956,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
kind: None,
|
||||
},
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -36,7 +36,6 @@ expression: parse_ast
|
|||
},
|
||||
),
|
||||
),
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
kwonlyargs: [],
|
||||
|
@ -86,7 +85,6 @@ expression: parse_ast
|
|||
),
|
||||
),
|
||||
type_params: [],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
]
|
||||
|
|
|
@ -28,7 +28,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -64,7 +63,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -105,7 +103,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -162,7 +159,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -213,7 +209,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -272,7 +267,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -298,7 +292,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -332,7 +325,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -360,7 +352,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -396,7 +387,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -424,7 +414,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -468,7 +457,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -509,7 +497,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -562,7 +549,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -602,7 +588,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -650,7 +635,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -699,7 +683,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -756,7 +739,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -796,7 +778,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -844,7 +825,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -913,7 +893,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -990,7 +969,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -1026,7 +1004,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -1062,7 +1039,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
With(
|
||||
|
@ -1119,7 +1095,6 @@ expression: "ast::Suite::parse(source, \"<test>\").unwrap()"
|
|||
},
|
||||
),
|
||||
],
|
||||
type_comment: None,
|
||||
},
|
||||
),
|
||||
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