From c447a5dc7e05d97258b8f6f4f238d8942decbaa2 Mon Sep 17 00:00:00 2001 From: "Paul R. Tagliamonte" Date: Thu, 28 Mar 2013 22:33:32 -0400 Subject: [PATCH] style cleanup --- hy/completer.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/hy/completer.py b/hy/completer.py index a6bfa83..4b76ffc 100644 --- a/hy/completer.py +++ b/hy/completer.py @@ -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):