Loading the puzzle…
The puzzle IDE is built for a laptop or larger screen. You can read everything here, but selecting code is easier with a mouse and a wider window.
A mutable class decorated with define gets a class-level on_setattr hook that converts
and validates on assignment. In _ClassBuilder.__init__ in src/attr/_make.py, the builder
can decide that this hook is pointless because no field has anything for it to do, and
switch it off. Select the lines of the single if statement that makes that decision,
from the if line (including its multi-line condition) through the line that switches the
hook off.
A range of lines in one file.
Each hint revealed before you solve takes 20 points off this puzzle's score.
Solve this puzzle to see the solution and a full explanation.
Select lines in the editor, then choose Select as answer below the editor.
No lines selected yet.