3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-22 00:07:36 +00:00

Remove unnecessary blank lines in mk_genfile_common.py and mk_api_doc.py

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-19 17:52:11 +00:00
parent d7aa454760
commit 0ad40a3f54
2 changed files with 0 additions and 5 deletions

View file

@ -468,7 +468,6 @@ try:
# We just need to register that it exists for the link in the index
print("Go documentation link will be included in index.")
print("Documentation was successfully generated at subdirectory '{}'.".format(OUTPUT_DIRECTORY))
except Exception:
exctype, value = sys.exc_info()[:2]

View file

@ -144,7 +144,6 @@ def mk_z3consts_py_internal(api_files, output_dir):
raise ValueError("Invalid %s, line: %s" % (api_file, linenum))
else:
if mode != IN_ENUM:
raise ValueError(f"Expected IN_ENUM mode, got mode {mode} in {api_file}, line: {linenum}")
words = re.split('[^-a-zA-Z0-9_]+', line)
m = closebrace_pat.match(line)
@ -234,7 +233,6 @@ def mk_z3consts_dotnet_internal(api_files, output_dir):
raise ValueError("Invalid %s, line: %s" % (api_file, linenum))
else:
if mode != IN_ENUM:
raise ValueError(f"Expected IN_ENUM mode, got mode {mode} in {api_file}, line: {linenum}")
words = re.split('[^-a-zA-Z0-9_]+', line)
m = closebrace_pat.match(line)
@ -324,7 +322,6 @@ def mk_z3consts_java_internal(api_files, package_name, output_dir):
raise ValueError("Invalid %s, line: %s" % (api_file, linenum))
else:
if mode != IN_ENUM:
raise ValueError(f"Expected IN_ENUM mode, got mode {mode} in {api_file}, line: {linenum}")
words = re.split('[^-a-zA-Z0-9_]+', line)
m = closebrace_pat.match(line)
@ -452,7 +449,6 @@ def mk_z3consts_ml_internal(api_files, output_dir):
raise ValueError("Invalid %s, line: %s" % (api_file, linenum))
else:
if mode != IN_ENUM:
raise ValueError(f"Expected IN_ENUM mode, got mode {mode} in {api_file}, line: {linenum}")
words = re.split('[^-a-zA-Z0-9_]+', line)
m = closebrace_pat.match(line)