[gobject-introspection] giscanner: make it clear DocOptions() also has a position attribute
- From: Dieter Verfaillie <dieterv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] giscanner: make it clear DocOptions() also has a position attribute
- Date: Wed, 28 Nov 2012 20:57:20 +0000 (UTC)
commit bfc8b8d40ddb4093ff7f6e516eb4088c52136db2
Author: Dieter Verfaillie <dieterv optionexplicit be>
Date: Fri Jun 29 16:57:54 2012 +0200
giscanner: make it clear DocOptions() also has a position attribute
Lost a couple of hours hunting down a failed test case (from the
annotationparser work about to land) due to this not being clear...
https://bugzilla.gnome.org/show_bug.cgi?id=688897
giscanner/annotationparser.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/giscanner/annotationparser.py b/giscanner/annotationparser.py
index c405ef4..28db1a3 100644
--- a/giscanner/annotationparser.py
+++ b/giscanner/annotationparser.py
@@ -398,6 +398,7 @@ class DocTag(object):
class DocOptions(object):
def __init__(self):
self.values = []
+ self.position = None
def __repr__(self):
return '<DocOptions %r>' % (self.values, )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]