Skip to content

Conversation

@Yashp002
Copy link

@Yashp002 Yashp002 commented Nov 16, 2025

This PR fixes an incomplete code example in the concurrent.futures documentation.

The second example in the deadlock section was missing a .result() call on the executor.submit() invocation, which is necessary to demonstrate the deadlock behavior described in the comment.

Changes:

  • Added .result() call to complete the example in Doc/library/concurrent.futures.rst

Fixes #141617


📚 Documentation preview 📚: https://cpython-previews--141620.org.readthedocs.build/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Incomplete example in concurrent.future documentation

1 participant