Show More
@@ -58,18 +58,18 b' valid_idents = [line for line in idents if test_ident(line[1])]' | |||||
58 |
|
58 | |||
59 | # Write the `latex_symbols.py` module in the cwd |
|
59 | # Write the `latex_symbols.py` module in the cwd | |
60 |
|
60 | |||
61 | s = """# encoding: utf-8 |
|
61 | s = f"""# encoding: utf-8 | |
62 |
|
62 | |||
63 | # DO NOT EDIT THIS FILE BY HAND. |
|
63 | # DO NOT EDIT THIS FILE BY HAND. | |
64 |
|
64 | |||
65 | # To update this file, run the script /tools/gen_latex_symbols.py using Python 3 |
|
65 | # To update this file, run the script /tools/gen_latex_symbols.py using Python 3 | |
66 |
|
66 | |||
67 | # This file is autogenerated from the file: |
|
67 | # This file is autogenerated from the file: | |
68 | # https://raw.githubusercontent.com/JuliaLang/julia/master/base/latex_symbols.jl |
|
68 | # {url} | |
69 | # This original list is filtered to remove any unicode characters that are not valid |
|
69 | # This original list is filtered to remove any unicode characters that are not valid | |
70 | # Python identifiers. |
|
70 | # Python identifiers. | |
71 |
|
71 | |||
72 | latex_symbols = {\n |
|
72 | latex_symbols = {{\n | |
73 | """ |
|
73 | """ | |
74 | for line in valid_idents: |
|
74 | for line in valid_idents: | |
75 | s += ' "%s" : "%s",\n' % (line[0], line[1]) |
|
75 | s += ' "%s" : "%s",\n' % (line[0], line[1]) |
General Comments 0
You need to be logged in to leave comments.
Login now