File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -484,11 +484,11 @@ Example:
484
484
485
485
.. _code-mutable-override :
486
486
487
- Check that overrides of mutable attributes are safe
488
- ---------------------------------------------------
487
+ Check that overrides of mutable attributes are safe [mutable-override]
488
+ ----------------------------------------------------------------------
489
489
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,
492
492
this check is not enabled by default. The example below is unsafe, and will be
493
493
flagged when this error code is enabled:
494
494
You can’t perform that action at this time.
0 commit comments