New GitHub issue #121567 from sobolevn:<br>
<hr>
<pre>
There are two cases where we can add explicit `with exception set` part. First one is:
https://github.com/python/cpython/blob/9585a1a2a251aaa15baf6579e13dd3be0cb05f1f/Doc/c-api/slice.rst#L21-L27
Notice this part:
> Return `NULL` if the new object could not be allocated.
And:
https://github.com/python/cpython/blob/9585a1a2a251aaa15baf6579e13dd3be0cb05f1f/Doc/c-api/slice.rst#L90-L100
https://github.com/python/cpython/blob/9585a1a2a251aaa15baf6579e13dd3be0cb05f1f/Doc/c-api/slice.rst#L98
</pre>
<hr>
<a href="https://github.com/python/cpython/issues/121567">View on GitHub</a>
<p>Labels: docs, topic-C-API</p>
<p>Assignee: sobolevn</p>