File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,11 @@ Example:
484484
485485 .. _code-mutable-override :
486486
487- Check that overrides of mutable attributes are safe
488- ---------------------------------------------------
487+ Check that overrides of mutable attributes are safe [mutable-override]
488+ ----------------------------------------------------------------------
489489
490- This will enable the check for unsafe overrides of mutable attributes. For
491- historical reasons, and because this is a relatively common pattern in Python,
490+ ` mutable-override ` will enable the check for unsafe overrides of mutable attributes.
491+ For historical reasons, and because this is a relatively common pattern in Python,
492492this check is not enabled by default. The example below is unsafe, and will be
493493flagged when this error code is enabled:
494494
You can’t perform that action at this time.
0 commit comments