Skip to content

Commit

Permalink
Attempt to improve comment clarity
Browse files Browse the repository at this point in the history
Relates to / follows up on #1903
  • Loading branch information
jayaddison authored and DanielNoord committed Jan 7, 2023
1 parent 21880dd commit 2323ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion astroid/brain/brain_builtin_inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2323ee6

Please sign in to comment.