mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Replace list of constants with tuples of constants.
This commit is contained in:
parent
07ead17318
commit
dbecd93b72
11 changed files with 29 additions and 29 deletions
|
@ -146,7 +146,7 @@ function calls leading up to the error, in the order they occurred.</p>'''
|
|||
if name in done: continue
|
||||
done[name] = 1
|
||||
if value is not __UNDEF__:
|
||||
if where in ['global', 'builtin']:
|
||||
if where in ('global', 'builtin'):
|
||||
name = ('<em>%s</em> ' % where) + strong(name)
|
||||
elif where == 'local':
|
||||
name = strong(name)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue