Skip to content

Commit

Permalink
Fix annotation string generated from wrong object
Browse files Browse the repository at this point in the history
  • Loading branch information
Endilll authored and davidhalter committed Oct 26, 2019
1 parent a6fcf77 commit 00b2205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jedi/inference/compiled/access.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def get_signature_params(self):
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()
]
Expand Down

0 comments on commit 00b2205

Please sign in to comment.