style cleanup

This commit is contained in:
Paul R. Tagliamonte 2013-03-28 22:33:32 -04:00
parent 32574e140e
commit c447a5dc7e

View File

@ -8,9 +8,10 @@ PATH = [hy.compiler._compile_table, hy.macros._hy_macros, __builtin__.__dict__]
class Completer:
def __init__(self, namespace = None):
def __init__(self, namespace=None):
if namespace and not isinstance(namespace, dict):
raise TypeError,'namespace must be a dictionary'
raise TypeError('namespace must be a dictionary')
self.namespace = namespace
def complete(self, text, state):