summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--giscanner/ast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ast.py b/giscanner/ast.py
index 98f33d63..c5dc436c 100644
--- a/giscanner/ast.py
+++ b/giscanner/ast.py
@@ -308,7 +308,7 @@ class Parameter(TypeContainer):
else:
self.direction = PARAM_DIRECTION_IN
- self.allow_none = not not allow_none
+ self.allow_none = allow_none
self.scope = scope
self.closure_index = -1
self.destroy_index = -1