Replace list of constants with tuples of constants.

This commit is contained in:
Raymond Hettinger 2005-02-06 06:57:08 +00:00
parent 07ead17318
commit dbecd93b72
11 changed files with 29 additions and 29 deletions

View file

@ -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)