.. _unbalanced-tuple-unpacking:

unbalanced-tuple-unpacking / W0632
==================================

**Message emitted:**

Possible unbalanced tuple unpacking with sequence %s: left side has %d label%s, right side has %d value%s

**Description:**

*Used when there is an unbalanced tuple unpacking in assignment*

**Problematic code:**

.. literalinclude:: /data/messages/u/unbalanced-tuple-unpacking/bad.py
   :language: python

**Correct code:**

.. literalinclude:: /data/messages/u/unbalanced-tuple-unpacking/good.py
   :language: python


**Related links:**

- `PEP 3132 - Extended Iterable Unpacking <https://peps.python.org/pep-3132/>`_

Created by the `variables <https://github.com/PyCQA/pylint/blob/main/pylint/checkers/variables.py>`__ checker.