mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-03 18:28:24 +00:00
Make ImportFrom level just a u32 (#11170)
This commit is contained in:
parent
5994414739
commit
845ba7cf5f
34 changed files with 100 additions and 182 deletions
|
@ -573,7 +573,7 @@ impl<'src> Parser<'src> {
|
|||
ast::StmtImportFrom {
|
||||
module,
|
||||
names,
|
||||
level: Some(leading_dots),
|
||||
level: leading_dots,
|
||||
range: self.node_range(start),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue