mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Fix local variable
This commit is contained in:
parent
461fcaa6d4
commit
410afbc5d8
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ default_html = '''\
|
|||
|
||||
def build_page(source, html=default_html, css=default_css):
|
||||
'Create a complete HTML page with colorized Python source code'
|
||||
css_str = ''.join(['%s %s\n' % item for item in default_css.items()])
|
||||
css_str = ''.join(['%s %s\n' % item for item in css.items()])
|
||||
result = colorize(source)
|
||||
return html % (css_str, result)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue