diff options
author | Larry Hastings <larry@hastings.org> | 2013-10-23 06:26:23 (GMT) |
---|---|---|
committer | Larry Hastings <larry@hastings.org> | 2013-10-23 06:26:23 (GMT) |
commit | ef3b1fbb2bb8e8b6f8da00d6839462d2d51a5086 (patch) | |
tree | f9abba2fb4a17524da292a45711d9a4cb57094ac /Tools | |
parent | 0db06a1c42a280075adcd18fa7dafe416cf80315 (diff) | |
download | cpython-ef3b1fbb2bb8e8b6f8da00d6839462d2d51a5086.zip cpython-ef3b1fbb2bb8e8b6f8da00d6839462d2d51a5086.tar.gz cpython-ef3b1fbb2bb8e8b6f8da00d6839462d2d51a5086.tar.bz2 |
Two small, quick bugfixes for Argument Clinic.
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/clinic/clinic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/clinic/clinic.py b/Tools/clinic/clinic.py index 836b030..ced3e67 100755 --- a/Tools/clinic/clinic.py +++ b/Tools/clinic/clinic.py @@ -922,8 +922,8 @@ class BlockParser: if self.is_start_line(line): break + output = output_output() if checksum: - output = output_output() if self.verify: computed = compute_checksum(output) if checksum != computed: @@ -2054,7 +2054,7 @@ class DSLParser: except SyntaxError: pass if not module: - fail("Function " + clinic.name + " has an invalid parameter declaration:\n\t" + line) + fail("Function " + self.function.name + " has an invalid parameter declaration:\n\t" + line) function_args = module.body[0].args parameter = function_args.args[0] |