summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-05-27 00:04:28 -0300
committerJohan Dahlin <johan@gnome.org>2010-05-27 00:05:05 -0300
commit666bb8d76a648011a49f14b6db4558e256c8e31b (patch)
treefe283e3816202b29fde98b499e4d71259570b4c8
parentf7baa60388f383f89afa5ed5cda62cfb5442f3f2 (diff)
downloadgobject-introspection-666bb8d76a648011a49f14b6db4558e256c8e31b.tar.gz
[annotationparser] Avoid a couple of \
-rw-r--r--giscanner/annotationparser.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index 1fd82cc3..b1d4ea00 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -682,9 +682,9 @@ class AnnotationApplier(object):
else:
array_values = {}
- is_g_array = node.type.ctype.startswith('GArray*') or \
- node.type.ctype.startswith('GPtrArray*') or \
- node.type.ctype.startswith('GByteArray*')
+ is_g_array = (node.type.ctype.startswith('GArray*') or
+ node.type.ctype.startswith('GPtrArray*') or
+ node.type.ctype.startswith('GByteArray*'))
element_type = options.get(OPT_ELEMENT_TYPE)
if element_type is not None: