style cleanup
This commit is contained in:
parent
32574e140e
commit
c447a5dc7e
@ -8,9 +8,10 @@ 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):
|
||||||
|
Loading…
Reference in New Issue
Block a user