aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/shibokenmodule
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/shibokenmodule')
-rw-r--r--sources/shiboken2/shibokenmodule/support/signature/parser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken2/shibokenmodule/support/signature/parser.py b/sources/shiboken2/shibokenmodule/support/signature/parser.py
index 3b09dd4f7..5c9a1e4f1 100644
--- a/sources/shiboken2/shibokenmodule/support/signature/parser.py
+++ b/sources/shiboken2/shibokenmodule/support/signature/parser.py
@@ -46,7 +46,7 @@ import types
import keyword
import functools
from signature_loader.mapping import (type_map, update_mapping, namespace,
- typing, Missing)
+ typing, _NotCalled)
_DEBUG = False
LIST_KEYWORDS = False
@@ -218,7 +218,7 @@ def _resolve_type(thing, line):
contr = to_string(_resolve_type(contr, line))
thing = to_string(_resolve_type(thing, line))
result = "{contr}[{thing}]".format(**locals())
- if not isinstance(thing, Missing):
+ if not isinstance(thing, _NotCalled):
result = eval(result, namespace)
return result
return _resolve_value(thing, None, line)