Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ef3b1fb

Browse files
committed
Two small, quick bugfixes for Argument Clinic.
1 parent 0db06a1 commit ef3b1fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Tools/clinic/clinic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -922,8 +922,8 @@ def parse_clinic_block(self, dsl_name):
922922
if self.is_start_line(line):
923923
break
924924

925+
output = output_output()
925926
if checksum:
926-
output = output_output()
927927
if self.verify:
928928
computed = compute_checksum(output)
929929
if checksum != computed:
@@ -2054,7 +2054,7 @@ def state_parameter(self, line):
20542054
except SyntaxError:
20552055
pass
20562056
if not module:
2057-
fail("Function " + clinic.name + " has an invalid parameter declaration:\n\t" + line)
2057+
fail("Function " + self.function.name + " has an invalid parameter declaration:\n\t" + line)
20582058

20592059
function_args = module.body[0].args
20602060
parameter = function_args.args[0]

0 commit comments

Comments
 (0)