diff --git a/jedi/inference/compiled/access.py b/jedi/inference/compiled/access.py index 75cf29d3..e65c855c 100644 --- a/jedi/inference/compiled/access.py +++ b/jedi/inference/compiled/access.py @@ -433,7 +433,7 @@ class DirectObjectAccess(object): default_string=repr(p.default), has_annotation=p.annotation is not p.empty, annotation=self._create_access_path(p.annotation), - annotation_string=str(p.default), + annotation_string=str(p.annotation), kind_name=str(p.kind) ) for p in self._get_signature().parameters.values() ]