Skip to content

Files

Latest commit

 

History

History
7 lines (4 loc) · 205 Bytes

bad-reversed-sequence.md

File metadata and controls

7 lines (4 loc) · 205 Bytes

Pattern: Wrong reversed() sequence

Issue: -

Description

Used when the first argument to reversed() built-in isn't a sequence (does not implement __reversed__, nor __getitem__ and __len__).