diff options
| author | Claudiu Popa <pcmanticore@gmail.com> | 2020-12-26 19:13:12 +0100 |
|---|---|---|
| committer | Claudiu Popa <pcmanticore@gmail.com> | 2020-12-26 19:13:12 +0100 |
| commit | 3c5ff572ad774b2fa1ea457bee61005833118cc3 (patch) | |
| tree | 63da9cf3354983c7b0323990833a8b0f16df733b | |
| parent | 249479692365b93ac0bf7a5765726f5270a1d39e (diff) | |
| download | astroid-git-3c5ff572ad774b2fa1ea457bee61005833118cc3.tar.gz | |
Fix incorrect error message formatting
| -rw-r--r-- | astroid/arguments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/arguments.py b/astroid/arguments.py index a0db3924..92a6c69e 100644 --- a/astroid/arguments.py +++ b/astroid/arguments.py @@ -292,7 +292,7 @@ class CallSite: except exceptions.NoDefault: pass raise exceptions.InferenceError( - "No value found for argument {name} to " "{func!r}", + "No value found for argument {arg} to {func!r}", call_site=self, func=funcnode, arg=name, |
