diff options
| author | James Addison <jay@jp-hosting.net> | 2023-01-06 23:53:44 +0000 |
|---|---|---|
| committer | Daniƫl van Noord <13665637+DanielNoord@users.noreply.github.com> | 2023-01-07 12:17:38 +0100 |
| commit | 2323ee67b2f0d20ea60e2022687a43ca1688c4e2 (patch) | |
| tree | 097ac4cc2b40df89619641b851c95e59dd04512f /astroid | |
| parent | 21880ddb44225c16c064ad0b2412e64f2f399709 (diff) | |
| download | astroid-git-2323ee67b2f0d20ea60e2022687a43ca1688c4e2.tar.gz | |
Attempt to improve comment clarity
Relates to / follows up on #1903
Diffstat (limited to 'astroid')
| -rw-r--r-- | astroid/brain/brain_builtin_inference.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/brain/brain_builtin_inference.py b/astroid/brain/brain_builtin_inference.py index 61c0baa6..767b65e0 100644 --- a/astroid/brain/brain_builtin_inference.py +++ b/astroid/brain/brain_builtin_inference.py @@ -953,7 +953,7 @@ def _infer_str_format_call( try: formatted_string = format_template.format(*pos_values, **keyword_values) except (AttributeError, IndexError, KeyError, TypeError, ValueError): - # AttributeError: processing a replacement field using the arguments failed + # AttributeError: named field in format string was not found in the arguments # IndexError: there are too few arguments to interpolate # TypeError: Unsupported format string # ValueError: Unknown format code |
