New GitHub issue #92305 from kumaraditya303:<br>
<hr>
<pre>
`list.remove` does not contains the ``repr`` of the object being removed from the list which is unhelpful. Proposed changes improves it from
```console
>>> a = [1,2]
>>> a.remove(3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: 3 is not in list
```
```console
>>> a = [1,2]
>>> a.remove(3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: list.remove(x): x not in list
```
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/92305">View on GitHub</a>
<p>Labels: type-feature, 3.11</p>
<p>Assignee: kumaraditya303</p>