From 32728cb8d12fb842e5141723fd0621277d8eab67 Mon Sep 17 00:00:00 2001 From: Allan Lewis Date: Wed, 27 Apr 2016 11:29:55 +0100 Subject: [PATCH] _utils.NoLock.__exit__: Use standard parameter names In any case, `type` is a builtin. --- websocket/_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket/_utils.py b/websocket/_utils.py index 91be861..f431702 100644 --- a/websocket/_utils.py +++ b/websocket/_utils.py @@ -28,7 +28,7 @@ class NoLock(object): def __enter__(self): pass - def __exit__(self, type, value, traceback): + def __exit__(self, exc_type, exc_value, traceback): pass try: