mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-11-04 13:38:45 +00:00 
			
		
		
		
	
				## Summary Fix #10282 This PR updates the Python grammar to include the `*` character in `*args` `**kwargs` in the range of the `Parameter` ``` def f(*args, **kwargs): pass # ~~~~ ~~~~~~ <-- range before the PR # ^^^^^ ^^^^^^^^ <-- range after ``` The invalid syntax `def f(*, **kwargs): ...` is also now correctly reported. ## Test Plan Test cases were added to `function.rs`.  | 
			||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||