[gobject-introspection] giscanner: don't shadow built-in 'type' symbol
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] giscanner: don't shadow built-in 'type' symbol
- Date: Tue, 9 Apr 2013 21:23:00 +0000 (UTC)
commit 2734e9a3334db0304c07bd892a863db076c3a543
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Wed Feb 13 17:23:10 2013 +0100
giscanner: don't shadow built-in 'type' symbol
use the documented __exit__ signature instead
https://bugzilla.gnome.org/show_bug.cgi?id=697619
giscanner/libtoolimporter.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/libtoolimporter.py b/giscanner/libtoolimporter.py
index 20bd005..0d26b0c 100644
--- a/giscanner/libtoolimporter.py
+++ b/giscanner/libtoolimporter.py
@@ -72,5 +72,5 @@ class LibtoolImporter(object):
sys.meta_path.append(cls)
@classmethod
- def __exit__(cls, type, value, traceback):
+ def __exit__(cls, exc_type, exc_val, exc_tb):
sys.meta_path.remove(cls)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]