diff --git a/pep-0637.rst b/pep-0637.rst index e9ff151e6..ebf2e2af0 100644 --- a/pep-0637.rst +++ b/pep-0637.rst @@ -462,7 +462,7 @@ With the introduction of the new notation, a few corner cases need to be analyse 2. a similar case occurs with setter notation:: - # Given type(obj).__getitem__(self, index, value): + # Given type(obj).__setitem__(self, index, value): obj[1, value=3] = 5 This poses no issue because the value is passed automatically, and the python interpreter will raise