mirror of
https://github.com/python/cpython.git
synced 2025-11-14 07:49:28 +00:00
gh-106368: Argument clinic: improve coverage for self.valid_line() calls (#107641)
This commit is contained in:
parent
904b5319b3
commit
2c25bd82f4
2 changed files with 33 additions and 3 deletions
|
|
@ -4685,9 +4685,7 @@ class DSLParser:
|
|||
# this line is permitted to start with whitespace.
|
||||
# we'll call this number of spaces F (for "function").
|
||||
|
||||
if not self.valid_line(line):
|
||||
return
|
||||
|
||||
assert self.valid_line(line)
|
||||
self.indent.infer(line)
|
||||
|
||||
# are we cloning?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue