.. _nested-min-max: nested-min-max / W3301 ====================== **Message emitted:** ``Do not use nested call of '%s'; it's possible to do '%s' instead`` **Description:** *Nested calls ``min(1, min(2, 3))`` can be rewritten as ``min(1, 2, 3)``.* **Problematic code:** .. literalinclude:: /data/messages/n/nested-min-max/bad.py :language: python **Correct code:** .. literalinclude:: /data/messages/n/nested-min-max/good.py :language: python Created by the `nested_min_max `__ checker.