summaryrefslogtreecommitdiff
path: root/giscanner/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'giscanner/ast.py')
-rw-r--r--giscanner/ast.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 80d5f968..ca5e66d5 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -142,6 +142,7 @@ class Parameter(Node):
self.type = typenode
self.direction = PARAM_DIRECTION_IN
self.transfer = False
+ self.allow_none = False
def __repr__(self):
return 'Parameter(%r, %r)' % (self.name, self.type)