Skip to content

Files

Latest commit

 

History

History
11 lines (6 loc) · 404 Bytes

invalid-format-index.md

File metadata and controls

11 lines (6 loc) · 404 Bytes

Pattern: Invalid format index

Issue: -

Description

Used when a PEP 3101 format string uses a lookup specifier - {a[1]} - but the argument passed for formatting doesn't contain or doesn't have that key as an attribute. This message can't be emitted when using Python < 2.7.

Further Reading