style cleanup

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

View File

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